Browse Source

ctest_coverage: If gcov is not found just warn, not error

Bill Hoffman 9 years ago
parent
commit
9ac2e18960
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Source/CTest/cmCTestCoverageHandler.cxx

+ 1 - 2
Source/CTest/cmCTestCoverageHandler.cxx

@@ -929,8 +929,7 @@ int cmCTestCoverageHandler::HandleGCovCoverage(
   std::string gcovCommand =
     this->CTest->GetCTestConfiguration("CoverageCommand");
   if (gcovCommand.empty()) {
-    cmCTestLog(this->CTest, ERROR_MESSAGE, "Could not find gcov."
-                 << std::endl);
+    cmCTestLog(this->CTest, WARNING, "Could not find gcov." << std::endl);
     return 0;
   }
   std::string gcovExtraFlags =