Merge branch 'coverage_exclusion_from_glob'

This commit is contained in:
Brad King 2010-06-15 14:07:02 -04:00
commit e82d918322
1 changed files with 6 additions and 2 deletions

View File

@ -2038,8 +2038,12 @@ std::set<std::string> cmCTestCoverageHandler::FindUncoveredFiles(
for(std::vector<std::string>::iterator f = files.begin(); for(std::vector<std::string>::iterator f = files.begin();
f != files.end(); ++f) f != files.end(); ++f)
{ {
extraMatches.insert(this->CTest->GetShortPathToFile( if(this->ShouldIDoCoverage(f->c_str(),
f->c_str())); cont->SourceDir.c_str(), cont->BinaryDir.c_str()))
{
extraMatches.insert(this->CTest->GetShortPathToFile(
f->c_str()));
}
} }
} }