diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-10-26 13:44:08 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-10-26 13:44:08 (GMT) |
commit | 99697308f34a1ee012529c591268a000ba8fa456 (patch) | |
tree | 28c56e784f3065affd97437cec1b3885b9129392 /Source/CTest/cmCTestBatchTestHandler.cxx | |
parent | 5ff4e0418083bcc5e7437321855eb2559347086c (diff) | |
download | CMake-99697308f34a1ee012529c591268a000ba8fa456.zip CMake-99697308f34a1ee012529c591268a000ba8fa456.tar.gz CMake-99697308f34a1ee012529c591268a000ba8fa456.tar.bz2 |
Add a ctest test to cover cmCTestBatchTestHandler. Since its behavior isn't fully defined yet, we just run it as is and don't care much about the result.
Diffstat (limited to 'Source/CTest/cmCTestBatchTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestBatchTestHandler.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestBatchTestHandler.cxx b/Source/CTest/cmCTestBatchTestHandler.cxx index 7c33d70..00bb6fa 100644 --- a/Source/CTest/cmCTestBatchTestHandler.cxx +++ b/Source/CTest/cmCTestBatchTestHandler.cxx @@ -25,7 +25,7 @@ cmCTestBatchTestHandler::~cmCTestBatchTestHandler() void cmCTestBatchTestHandler::RunTests() { this->WriteBatchScript(); - //this->SubmitBatchScript(); + this->SubmitBatchScript(); } //--------------------------------------------------------- @@ -128,16 +128,16 @@ void cmCTestBatchTestHandler::SubmitBatchScript() args.push_back(this->Script); args.push_back("-o"); args.push_back(this->CTest->GetBinaryDir() - + "/Testing/CTestBatchOutput.txt"); + + "/Testing/CTestBatch.txt"); sbatch.SetCommand("sbatch"); sbatch.SetCommandArguments(args); - if(sbatch.StartProcess()) + /*if(sbatch.StartProcess()) { //success condition } else { //fail condition - } + }*/ } |