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

It now matches the log level of other coverage messages.
This commit is contained in:
Betsy McPhail
2018-03-27 14:59:58 -04:00
committed by Brad King
parent d5f0b2df8e
commit ae1cbff07f

View File

@@ -928,7 +928,8 @@ 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, WARNING, "Could not find gcov." << std::endl); cmCTestOptionalLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
"Could not find gcov." << std::endl, this->Quiet);
return 0; return 0;
} }
std::string gcovExtraFlags = std::string gcovExtraFlags =