소스 검색

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

Zach Mullen 16 년 전
부모
커밋
9aa4e134b5
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);