1
0
Эх сурвалжийг харах

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

Zach Mullen 16 жил өмнө
parent
commit
9aa4e134b5

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