diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-08-03 20:44:04 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-08-03 20:44:04 (GMT) |
commit | e8f3b5ff005a545bb2d11f748fa5646e68402649 (patch) | |
tree | e67f1916eee55f8e77b4812d6051ab32aeaf726b /Source | |
parent | 1d250298d06d3af89e9e57b42d3c6028a7450671 (diff) | |
download | CMake-e8f3b5ff005a545bb2d11f748fa5646e68402649.zip CMake-e8f3b5ff005a545bb2d11f748fa5646e68402649.tar.gz CMake-e8f3b5ff005a545bb2d11f748fa5646e68402649.tar.bz2 |
ENH: show files as untested if no lines are covered
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 6a5f81d..1f27394 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -529,7 +529,7 @@ int cmCTestCoverageHandler::ProcessHandler() covSumFile << "\t<File Name=\"" << this->CTest->MakeXMLSafe(fileName) << "\" FullPath=\"" << this->CTest->MakeXMLSafe( this->CTest->GetShortPathToFile(fullFileName.c_str())) - << "\" Covered=\"" << (cmet>0?"true":"false") << "\">\n" + << "\" Covered=\"" << (tested==0?"true":"false") << "\">\n" << "\t\t<LOCTested>" << tested << "</LOCTested>\n" << "\t\t<LOCUnTested>" << untested << "</LOCUnTested>\n" << "\t\t<PercentCoverage>"; |