Restore the "***Not Run" message to ctest command line output for tests which did not start due to missing/bad executables or missing required files.

This commit is contained in:
Zach Mullen 2009-12-10 15:51:56 -05:00
parent 4de7cc3621
commit 5e427677c3
1 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,11 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
this->TestResult.Status = cmCTestTestHandler::OTHER_FAULT;
}
}
else //cmsysProcess_State_Error
{
cmCTestLog(this->CTest, HANDLER_OUTPUT, "***Not Run ");
}
passed = this->TestResult.Status == cmCTestTestHandler::COMPLETED;
char buf[1024];
sprintf(buf, "%6.2f sec", this->TestProcess->GetTotalTime());