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.
This commit is contained in:
Brad King 2009-02-13 11:49:31 -05:00
parent dc69ed8e99
commit a0359d3c15
1 changed files with 6 additions and 0 deletions

View File

@ -133,6 +133,12 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
}
}
if(const char* useLaunchers =
this->Makefile->GetDefinition("CTEST_USE_LAUNCHERS"))
{
this->CTest->SetCTestConfiguration("UseLaunchers", useLaunchers);
}
return handler;
}