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

This commit is contained in:
Bill Hoffman 2016-07-28 15:12:43 -04:00 committed by Brad King
parent a7305ef00a
commit 9ac2e18960

View File

@ -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 =