From efad72a9a3d6d23702b6f0858cff4cab45be2f2f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 10 Feb 2009 16:08:40 -0500 Subject: [PATCH] ENH: add label global property to ctest scripts --- Source/cmCTest.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 70dba4dd9..df7c11039 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1283,6 +1283,7 @@ void cmCTest::AddSiteProperties(std::ostream& ostr) { return; } + // This code should go when cdash is changed to use labels only const char* subproject = cm->GetProperty("SubProject", cmProperty::GLOBAL); if(subproject) { @@ -1304,6 +1305,15 @@ void cmCTest::AddSiteProperties(std::ostream& ostr) } ostr << "\n"; } + + // This code should stay when cdash only does label based sub-projects + const char* label = cm->GetProperty("Label", cmProperty::GLOBAL); + if(label) + { + ostr << "\n"; + ostr << " \n"; + ostr << "\n"; + } }