ctest_coverage: If gcov is not found just warn, not error
This commit is contained in:
parent
a7305ef00a
commit
9ac2e18960
|
@ -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 =
|
||||||
|
|
Loading…
Reference in New Issue