diff options
author | Brad King <brad.king@kitware.com> | 2015-01-15 20:23:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-20 14:33:21 (GMT) |
commit | 6dd980e0ef1254a6c3098488e6677f5eb4f40a86 (patch) | |
tree | f7d0568c3dbbc7ea23976f67ae016aab638fcb3e /Source/CTest/cmCTestSubmitCommand.h | |
parent | 5dc33f89b5405f1fbcefb9783ea2050a3686d7de (diff) | |
download | CMake-6dd980e0ef1254a6c3098488e6677f5eb4f40a86.zip CMake-6dd980e0ef1254a6c3098488e6677f5eb4f40a86.tar.gz CMake-6dd980e0ef1254a6c3098488e6677f5eb4f40a86.tar.bz2 |
ctest_submit: Make CDASH_UPLOAD mode arguments more strict
Disallow mixing of arguments from different command signatures.
Extend the RunCMake.CTestSubmit test to cover such error cases.
Diffstat (limited to 'Source/CTest/cmCTestSubmitCommand.h')
-rw-r--r-- | Source/CTest/cmCTestSubmitCommand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestSubmitCommand.h b/Source/CTest/cmCTestSubmitCommand.h index cb0ac61..19e8eaf 100644 --- a/Source/CTest/cmCTestSubmitCommand.h +++ b/Source/CTest/cmCTestSubmitCommand.h @@ -32,6 +32,7 @@ public: this->InternalTest = false; this->RetryCount = ""; this->RetryDelay = ""; + this->CDashUpload = false; } /** @@ -45,6 +46,9 @@ public: return ni; } + virtual bool InitialPass(std::vector<std::string> const& args, + cmExecutionStatus &status); + /** * The name of the command as specified in CMakeList.txt. */ @@ -76,6 +80,7 @@ protected: cmCTest::SetOfStrings Files; std::string RetryCount; std::string RetryDelay; + bool CDashUpload; std::string CDashUploadFile; std::string CDashUploadType; }; |