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
1 changed files with 1 additions and 2 deletions

View File

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