diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-11-05 16:03:07 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-11-05 16:03:07 (GMT) |
commit | 9aa4e134b5c0983decbde86b0e7b723884d8429c (patch) | |
tree | 33d367573f272d341a430d183466ad89072c44b9 /Source/CTest | |
parent | 0cdc1e979eebad5f37e1f906a799f18d9aa4f5ea (diff) | |
download | CMake-9aa4e134b5c0983decbde86b0e7b723884d8429c.zip CMake-9aa4e134b5c0983decbde86b0e7b723884d8429c.tar.gz CMake-9aa4e134b5c0983decbde86b0e7b723884d8429c.tar.bz2 |
Fixed infinite loop condition when a test's dependent test executable could not be found.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index 4f3a605..984ed37 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -97,6 +97,8 @@ void cmCTestMultiProcessHandler::StartTestProcess(int test) else { this->Completed++; + this->TestFinishMap[test] = true; + this->TestRunningMap[test] = false; this->RunningCount -= GetProcessorsUsed(test); testRun->EndTest(this->Completed, this->Total, false); this->Failed->push_back(this->Properties[test]->Name); |