summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2018-03-27 18:59:58 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-28 12:32:46 (GMT)
commitae1cbff07fb2c7fbb973e30f8bc79c31df1bf268 (patch)
treecf04fcfcdbcd0b1ccf00e7489add78fd0c0ac709
parentd5f0b2df8eaa7d4d266ac43384e7aa91e19107e2 (diff)
downloadCMake-ae1cbff07fb2c7fbb973e30f8bc79c31df1bf268.zip
CMake-ae1cbff07fb2c7fbb973e30f8bc79c31df1bf268.tar.gz
CMake-ae1cbff07fb2c7fbb973e30f8bc79c31df1bf268.tar.bz2
CTest: The "Could not find gcov." message should not be a warning
It now matches the log level of other coverage messages.
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 6cf0ac2..bafbe9a 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -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 =