summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-02-21 20:54:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-02-21 20:54:09 (GMT)
commitcee42a73e8809ffb0bd877a121d0c042530f8018 (patch)
tree1ba07bf062c147157050935c99554966bb00a440 /Source
parentd19f68840faa5162d9b53b7419b565954a185352 (diff)
parent58d75e22ae3ed4279b0596eeab73063719bb61d0 (diff)
downloadCMake-cee42a73e8809ffb0bd877a121d0c042530f8018.zip
CMake-cee42a73e8809ffb0bd877a121d0c042530f8018.tar.gz
CMake-cee42a73e8809ffb0bd877a121d0c042530f8018.tar.bz2
Merge topic 'honor-gcov-empty-coverage'
58d75e2 CTest: mark all gcov covered files as covered
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 0b1c9fe..309abb1 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -555,7 +555,7 @@ int cmCTestCoverageHandler::ProcessHandler()
covSumFile << "\t<File Name=\"" << cmXMLSafe(fileName)
<< "\" FullPath=\"" << cmXMLSafe(
this->CTest->GetShortPathToFile(fullFileName.c_str()))
- << "\" Covered=\"" << (tested > 0 ? "true":"false") << "\">\n"
+ << "\" Covered=\"" << (tested+untested > 0 ? "true":"false") << "\">\n"
<< "\t\t<LOCTested>" << tested << "</LOCTested>\n"
<< "\t\t<LOCUnTested>" << untested << "</LOCUnTested>\n"
<< "\t\t<PercentCoverage>";