Parcourir la source

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.

Zach Mullen il y a 16 ans
Parent
commit
5e427677c3
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      Source/CTest/cmCTestRunTest.cxx

+ 5 - 0
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());