diff options
author | Brad King <brad.king@kitware.com> | 2009-02-13 16:49:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-13 16:49:31 (GMT) |
commit | a0359d3c15a9499eb44309fdddd76fe88ad9f0ab (patch) | |
tree | 292f1a06cc19a2c94ca55f25ff8aa296234083af /Source/CTest/cmCTestBuildCommand.cxx | |
parent | dc69ed8e999e3f0b759aa0bc972bbce06b7194f2 (diff) | |
download | CMake-a0359d3c15a9499eb44309fdddd76fe88ad9f0ab.zip CMake-a0359d3c15a9499eb44309fdddd76fe88ad9f0ab.tar.gz CMake-a0359d3c15a9499eb44309fdddd76fe88ad9f0ab.tar.bz2 |
BUG: Fix CTEST_USE_LAUNCHERS in dashboard scripts
Since CTest does not currently load configuration settings computed at
CMake Configure time while running dashboard scripts, the ctest_build
command must honor the CTEST_USE_LAUNCHERS option directly.
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 a98f621..f9fc234 100644 --- a/Source/CTest/cmCTestBuildCommand.cxx +++ b/Source/CTest/cmCTestBuildCommand.cxx @@ -133,6 +133,12 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler() } } + if(const char* useLaunchers = + this->Makefile->GetDefinition("CTEST_USE_LAUNCHERS")) + { + this->CTest->SetCTestConfiguration("UseLaunchers", useLaunchers); + } + return handler; } |