Merge topic 'coverage_no_tests'

e6cf1c48 ctest_coverage: Always do coverage for CTEST_EXTRA_COVERAGE_GLOB
This commit is contained in:
Brad King 2015-07-14 10:34:30 -04:00 committed by CMake Topic Stage
commit 7a40998329
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ int cmCTestCoverageHandler::ProcessHandler()
} }
std::set<std::string> uncovered = this->FindUncoveredFiles(&cont); std::set<std::string> uncovered = this->FindUncoveredFiles(&cont);
if ( file_count == 0 ) if (file_count == 0 && this->ExtraCoverageGlobs.empty())
{ {
cmCTestOptionalLog(this->CTest, WARNING, cmCTestOptionalLog(this->CTest, WARNING,
" Cannot find any coverage files. Ignoring Coverage request." " Cannot find any coverage files. Ignoring Coverage request."