diff options
author | David Cole <david.cole@kitware.com> | 2012-02-21 20:54:09 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-02-21 20:54:09 (GMT) |
commit | cee42a73e8809ffb0bd877a121d0c042530f8018 (patch) | |
tree | 1ba07bf062c147157050935c99554966bb00a440 /Source | |
parent | d19f68840faa5162d9b53b7419b565954a185352 (diff) | |
parent | 58d75e22ae3ed4279b0596eeab73063719bb61d0 (diff) | |
download | CMake-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.cxx | 2 |
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>"; |