diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-09-03 19:33:44 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-09-03 19:33:44 (GMT) |
commit | d4adde13d7d507f5896b8c7912e46bbbcb71b539 (patch) | |
tree | 45e30f838f6443a50c276be0f0507ee392020799 /Source/CTest/cmCTestMultiProcessHandler.cxx | |
parent | f686dbecb6c25178954b8190e95a3a265e9b2813 (diff) | |
download | CMake-d4adde13d7d507f5896b8c7912e46bbbcb71b539.zip CMake-d4adde13d7d507f5896b8c7912e46bbbcb71b539.tar.gz CMake-d4adde13d7d507f5896b8c7912e46bbbcb71b539.tar.bz2 |
Allowed tests to pull more than one line of output in their quantum. Fixed uninitialized variables in the case that the test process could not start.
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index f0d926c..9fc4c07 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -100,7 +100,8 @@ void cmCTestMultiProcessHandler::StartTestProcess(int test) } else { - testRun->EndTest(this->Completed, this->Total); + this->Completed++; + testRun->EndTest(this->Completed, this->Total, false); } } @@ -209,7 +210,7 @@ bool cmCTestMultiProcessHandler::CheckOutput() cmCTestRunTest* p = *i; int test = p->GetIndex(); - if(p->EndTest(this->Completed, this->Total)) + if(p->EndTest(this->Completed, this->Total, true)) { this->Passed->push_back(p->GetTestProperties()->Name); } |