Merge topic 'gcov-warning-message'

ae1cbff07f CTest: The "Could not find gcov." message should not be a warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1894
This commit is contained in:
Brad King
2018-03-29 14:16:04 +00:00
committed by Kitware Robot

View File

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