diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2017-06-27 19:23:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-07-10 20:25:18 (GMT) |
commit | d08ec4d25a8113388092bf342002f3859f6b8de4 (patch) | |
tree | 9e07c94036183d61f702a38a85531da58feb56db /Source/CTest/cmCTestBuildCommand.cxx | |
parent | c705f0af63e2e438d0c6de2400cd90a005576125 (diff) | |
download | CMake-d08ec4d25a8113388092bf342002f3859f6b8de4.zip CMake-d08ec4d25a8113388092bf342002f3859f6b8de4.tar.gz CMake-d08ec4d25a8113388092bf342002f3859f6b8de4.tar.bz2 |
Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variable
Use this variable to specify a list of labels that will be reported to
CDash as subprojects.
Diffstat (limited to 'Source/CTest/cmCTestBuildCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestBuildCommand.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.cxx b/Source/CTest/cmCTestBuildCommand.cxx index 4c82760..64ef8de 100644 --- a/Source/CTest/cmCTestBuildCommand.cxx +++ b/Source/CTest/cmCTestBuildCommand.cxx @@ -153,6 +153,12 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler() this->Quiet); } + if (const char* labelsForSubprojects = + this->Makefile->GetDefinition("CTEST_LABELS_FOR_SUBPROJECTS")) { + this->CTest->SetCTestConfiguration("LabelsForSubprojects", + labelsForSubprojects, this->Quiet); + } + handler->SetQuiet(this->Quiet); return handler; } |