浏览代码

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