[Cmake-commits] [cmake-commits] hoffman committed cmCTest.cxx 1.354 1.355
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Feb 10 16:08:43 EST 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv7390
Modified Files:
cmCTest.cxx
Log Message:
ENH: add label global property to ctest scripts
Index: cmCTest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCTest.cxx,v
retrieving revision 1.354
retrieving revision 1.355
diff -C 2 -d -r1.354 -r1.355
*** cmCTest.cxx 10 Feb 2009 19:24:23 -0000 1.354
--- cmCTest.cxx 10 Feb 2009 21:08:40 -0000 1.355
***************
*** 1284,1287 ****
--- 1284,1288 ----
return;
}
+ // This code should go when cdash is changed to use labels only
const char* subproject = cm->GetProperty("SubProject", cmProperty::GLOBAL);
if(subproject)
***************
*** 1305,1308 ****
--- 1306,1318 ----
ostr << "</Subproject>\n";
}
+
+ // This code should stay when cdash only does label based sub-projects
+ const char* label = cm->GetProperty("Label", cmProperty::GLOBAL);
+ if(label)
+ {
+ ostr << "<Labels>\n";
+ ostr << " <Label>" << label << "</Label>\n";
+ ostr << "</Labels>\n";
+ }
}
More information about the Cmake-commits
mailing list