summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-14 14:34:30 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-07-14 14:34:30 (GMT)
commit7a409983292e0917cf1299d55ca601a92fd4a36e (patch)
tree1cf5df5e51e787ec7251b2fc59048159920e5189
parentead29a4e3d1e01d7e6b43a27b1c15f7fb3b8ecb5 (diff)
parente6cf1c489cbebf41524de389895c58bc644fd7f8 (diff)
downloadCMake-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.cxx2
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."