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

This commit is contained in:
Zach Mullen 2009-11-05 11:03:07 -05:00
parent 0cdc1e979e
commit 9aa4e134b5
1 changed files with 2 additions and 0 deletions

View File

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