diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2016-07-28 19:12:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-20 17:06:57 (GMT) |
commit | 9ac2e189607433b45b252a1e2261ccfaf11e492b (patch) | |
tree | 6274b7dde0ac9da17e6b6f709d1f59332c487e05 | |
parent | a7305ef00a70518f7abb66211ef09b0ca6d4af71 (diff) | |
download | CMake-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.cxx | 3 |
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 = |