Merge topic 'coverage_no_tests'
e6cf1c48
ctest_coverage: Always do coverage for CTEST_EXTRA_COVERAGE_GLOB
This commit is contained in:
commit
7a40998329
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue