summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSubmitCommand.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-06-10 16:25:49 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-06-10 16:25:49 (GMT)
commitaf5ef0c96982be431791ea35d6de8798ffe70254 (patch)
tree7a73855046a511b496bc79553edc667922f16cd6 /Source/CTest/cmCTestSubmitCommand.cxx
parent86e81b53c196bfd29aa7d877d2fb9e71a6392cc1 (diff)
downloadCMake-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.cxx12
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.