mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Merge topic 'coverage_no_tests'
e6cf1c48 ctest_coverage: Always do coverage for CTEST_EXTRA_COVERAGE_GLOB
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user