diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2012-05-11 19:22:25 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2012-05-11 19:22:25 (GMT) |
commit | c806b23cfe08259efed1ed310613f65c16a60680 (patch) | |
tree | 2ef23513b8e5d0c5ec505682763ce17bf98123a8 /Source/CTest/cmParseGTMCoverage.cxx | |
parent | 761d93129fb72d0418facb785776533b33d24a01 (diff) | |
download | CMake-c806b23cfe08259efed1ed310613f65c16a60680.zip CMake-c806b23cfe08259efed1ed310613f65c16a60680.tar.gz CMake-c806b23cfe08259efed1ed310613f65c16a60680.tar.bz2 |
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/cmParseGTMCoverage.cxx')
-rw-r--r-- | Source/CTest/cmParseGTMCoverage.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/CTest/cmParseGTMCoverage.cxx b/Source/CTest/cmParseGTMCoverage.cxx index e1f02d6..5dfcfe5 100644 --- a/Source/CTest/cmParseGTMCoverage.cxx +++ b/Source/CTest/cmParseGTMCoverage.cxx @@ -103,12 +103,6 @@ bool cmParseGTMCoverage::ReadMCovFile(const char* file) function, lineoffset)) { - // hack, this should be done on every file, but for now - // just do it on the ones that have coverage at all - if( this->Coverage.TotalCoverage[filepath].size() == 0) - { - this->InitializeMumpsFile(filepath); - } cmCTestCoverageHandlerContainer::SingleFileCoverageVector& coverageVector = this->Coverage.TotalCoverage[filepath]; coverageVector[lineoffset + linenumber] += count; |