diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2012-05-11 15:22:25 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2012-05-11 15:22:25 -0400 |
commit | c806b23cfe08259efed1ed310613f65c16a60680 (patch) | |
tree | 2ef23513b8e5d0c5ec505682763ce17bf98123a8 /Source/CTest/cmParseCacheCoverage.cxx | |
parent | 761d93129fb72d0418facb785776533b33d24a01 (diff) | |
download | cmake-c806b23cfe08259efed1ed310613f65c16a60680.tar.gz |
CDash now supports lots of files in coverage. So, show all files.
Prior to this commit the mumps coverage only showed files that
had at least one line of coverage. Now 0% covered files are shown
as well.
Diffstat (limited to 'Source/CTest/cmParseCacheCoverage.cxx')
-rw-r--r-- | Source/CTest/cmParseCacheCoverage.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/CTest/cmParseCacheCoverage.cxx b/Source/CTest/cmParseCacheCoverage.cxx index e4b0a88976..137f344dfa 100644 --- a/Source/CTest/cmParseCacheCoverage.cxx +++ b/Source/CTest/cmParseCacheCoverage.cxx @@ -44,11 +44,10 @@ bool cmParseCacheCoverage::LoadCoverageData(const char* d) } } } - // now remove files wht no actual coverage... - this->RemoveUnCoveredFiles(); return true; } +// not currently used, but leave it in case we want it in the future void cmParseCacheCoverage::RemoveUnCoveredFiles() { // loop over the coverage data computed and remove all files @@ -195,15 +194,6 @@ bool cmParseCacheCoverage::ReadCMCovFile(const char* file) { continue; } - // routine and filepath should be set at this point. - // see if we have visited this file before, and if not - // call InitializeMumpsFile - if( this->Coverage.TotalCoverage[filepath].size() == 0) - { - // hack, this should be done on every file, but for now - // just do it on the ones that have coverage at all - this->InitializeMumpsFile(filepath); - } // now we are ready to set the coverage from the line of data cmCTestCoverageHandlerContainer::SingleFileCoverageVector& coverageVector = this->Coverage.TotalCoverage[filepath]; |