diff options
author | Brad King <brad.king@kitware.com> | 2015-07-14 14:34:30 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-14 14:34:30 (GMT) |
commit | 7a409983292e0917cf1299d55ca601a92fd4a36e (patch) | |
tree | 1cf5df5e51e787ec7251b2fc59048159920e5189 | |
parent | ead29a4e3d1e01d7e6b43a27b1c15f7fb3b8ecb5 (diff) | |
parent | e6cf1c489cbebf41524de389895c58bc644fd7f8 (diff) | |
download | CMake-7a409983292e0917cf1299d55ca601a92fd4a36e.zip CMake-7a409983292e0917cf1299d55ca601a92fd4a36e.tar.gz CMake-7a409983292e0917cf1299d55ca601a92fd4a36e.tar.bz2 |
Merge topic 'coverage_no_tests'
e6cf1c48 ctest_coverage: Always do coverage for CTEST_EXTRA_COVERAGE_GLOB
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index f92f19a..6369e17 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -446,7 +446,7 @@ int cmCTestCoverageHandler::ProcessHandler() } std::set<std::string> uncovered = this->FindUncoveredFiles(&cont); - if ( file_count == 0 ) + if (file_count == 0 && this->ExtraCoverageGlobs.empty()) { cmCTestOptionalLog(this->CTest, WARNING, " Cannot find any coverage files. Ignoring Coverage request." |