Browse Source

Fixed infinite loop condition when a test's dependent test executable could not be found.

Zach Mullen 16 years ago
parent
commit
9aa4e134b5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/CTest/cmCTestMultiProcessHandler.cxx

+ 2 - 0
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);