summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2016-07-28 15:12:43 -0400
committerBrad King <brad.king@kitware.com>2016-09-20 13:06:57 -0400
commit9ac2e189607433b45b252a1e2261ccfaf11e492b (patch)
tree6274b7dde0ac9da17e6b6f709d1f59332c487e05
parenta7305ef00a70518f7abb66211ef09b0ca6d4af71 (diff)
downloadcmake-9ac2e189607433b45b252a1e2261ccfaf11e492b.tar.gz
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 2eb64bfc02..f2cd67e0f7 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 =