diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-06-10 16:25:49 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2010-06-10 16:25:49 (GMT) |
commit | af5ef0c96982be431791ea35d6de8798ffe70254 (patch) | |
tree | 7a73855046a511b496bc79553edc667922f16cd6 /Source/CTest/cmCTestSubmitCommand.cxx | |
parent | 86e81b53c196bfd29aa7d877d2fb9e71a6392cc1 (diff) | |
download | CMake-af5ef0c96982be431791ea35d6de8798ffe70254.zip CMake-af5ef0c96982be431791ea35d6de8798ffe70254.tar.gz CMake-af5ef0c96982be431791ea35d6de8798ffe70254.tar.bz2 |
Testing for CTest checksum
Diffstat (limited to 'Source/CTest/cmCTestSubmitCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestSubmitCommand.cxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestSubmitCommand.cxx b/Source/CTest/cmCTestSubmitCommand.cxx index 6a45d58..24974e3 100644 --- a/Source/CTest/cmCTestSubmitCommand.cxx +++ b/Source/CTest/cmCTestSubmitCommand.cxx @@ -147,10 +147,12 @@ cmCTestGenericHandler* cmCTestSubmitCommand::InitializeHandler() static_cast<cmCTestSubmitHandler*>(handler)->SelectParts(this->Parts); } - static_cast<cmCTestSubmitHandler*>(handler)->SetOption("RetryTime", + static_cast<cmCTestSubmitHandler*>(handler)->SetOption("RetryDelay", this->RetryDelay.c_str()); static_cast<cmCTestSubmitHandler*>(handler)->SetOption("RetryCount", this->RetryCount.c_str()); + static_cast<cmCTestSubmitHandler*>(handler)->SetOption("InternalTest", + this->InternalTest ? "ON" : "OFF"); return handler; } @@ -186,6 +188,12 @@ bool cmCTestSubmitCommand::CheckArgumentKeyword(std::string const& arg) return true; } + if(arg == "INTERNAL_TEST_CHECKSUM") + { + this->InternalTest = true; + return true; + } + // Look for other arguments. return this->Superclass::CheckArgumentKeyword(arg); } @@ -233,11 +241,13 @@ bool cmCTestSubmitCommand::CheckArgumentValue(std::string const& arg) if(this->ArgumentDoing == ArgumentDoingRetryCount) { this->RetryCount = arg; + return true; } if(this->ArgumentDoing == ArgumentDoingRetryDelay) { this->RetryDelay = arg; + return true; } // Look for other arguments. |