diff options
author | Brad King <brad.king@kitware.com> | 2009-05-14 20:13:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-05-14 20:13:52 (GMT) |
commit | a524e07152728d652a29761b43b334b7aed390d6 (patch) | |
tree | deb1fd0082f7cad680d7686e30c21ec76a655ae5 /Source/CTest/cmCTestUpdateCommand.cxx | |
parent | ca3e9623e94f270e784dc621b1a38f455183882f (diff) | |
download | CMake-a524e07152728d652a29761b43b334b7aed390d6.zip CMake-a524e07152728d652a29761b43b334b7aed390d6.tar.gz CMake-a524e07152728d652a29761b43b334b7aed390d6.tar.bz2 |
ENH: Teach CTest to handle Bazaar repositories
This creates cmCTestBZR to drive CTest Update handling on bzr-based work
trees. Currently we always update to the head of the remote tracking
branch (bzr pull), so the nightly start time is ignored for Nightly
builds. A later change will address this. Patch from Tom Vercauteren.
See issue #6857.
Diffstat (limited to 'Source/CTest/cmCTestUpdateCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateCommand.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.cxx b/Source/CTest/cmCTestUpdateCommand.cxx index 9c8e1ef..73c1f40 100644 --- a/Source/CTest/cmCTestUpdateCommand.cxx +++ b/Source/CTest/cmCTestUpdateCommand.cxx @@ -49,6 +49,10 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler() this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, "SVNUpdateOptions", "CTEST_SVN_UPDATE_OPTIONS"); this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, + "BZRCommand", "CTEST_BZR_COMMAND"); + this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, + "BZRUpdateOptions", "CTEST_BZR_UPDATE_OPTIONS"); + this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, "GITCommand", "CTEST_GIT_COMMAND"); this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, "GITUpdateOptions", "CTEST_GIT_UPDATE_OPTIONS"); |