summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2016-07-28 19:12:43 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-20 17:06:57 (GMT)
commit9ac2e189607433b45b252a1e2261ccfaf11e492b (patch)
tree6274b7dde0ac9da17e6b6f709d1f59332c487e05
parenta7305ef00a70518f7abb66211ef09b0ca6d4af71 (diff)
downloadCMake-9ac2e189607433b45b252a1e2261ccfaf11e492b.zip
CMake-9ac2e189607433b45b252a1e2261ccfaf11e492b.tar.gz
CMake-9ac2e189607433b45b252a1e2261ccfaf11e492b.tar.bz2
ctest_coverage: If gcov is not found just warn, not error
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 2eb64bf..f2cd67e 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -929,8 +929,7 @@ int cmCTestCoverageHandler::HandleGCovCoverage(
std::string gcovCommand =
this->CTest->GetCTestConfiguration("CoverageCommand");
if (gcovCommand.empty()) {
- cmCTestLog(this->CTest, ERROR_MESSAGE, "Could not find gcov."
- << std::endl);
+ cmCTestLog(this->CTest, WARNING, "Could not find gcov." << std::endl);
return 0;
}
std::string gcovExtraFlags =