summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-12-10 20:51:56 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-12-10 20:51:56 (GMT)
commit5e427677c36959b38576dbdad88a080831004005 (patch)
tree6cbebb5ab2bd9a07bdf0fcc67b34f8c3630f3983 /Source
parent4de7cc3621c723f76938063c10a4f8fc691ad58e (diff)
downloadCMake-5e427677c36959b38576dbdad88a080831004005.zip
CMake-5e427677c36959b38576dbdad88a080831004005.tar.gz
CMake-5e427677c36959b38576dbdad88a080831004005.tar.bz2
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 3bb808a..273dc1b 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -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());