diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-05-08 16:47:30 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-05-08 16:47:30 (GMT) |
commit | 2b6ee95c1dc24bfb5701c4156e6c429eac824368 (patch) | |
tree | 42ba01818d5059f45d08c68f0f9da2bd08ee16b3 /Source/CTest | |
parent | 12935b1599a2186950db644ff336aca16d725da0 (diff) | |
download | CMake-2b6ee95c1dc24bfb5701c4156e6c429eac824368.zip CMake-2b6ee95c1dc24bfb5701c4156e6c429eac824368.tar.gz CMake-2b6ee95c1dc24bfb5701c4156e6c429eac824368.tar.bz2 |
BUG: 0006988 do not set coverage to false when it is not
Diffstat (limited to 'Source/CTest')
-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 5ef9e55..a3a9c8f 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -538,7 +538,7 @@ int cmCTestCoverageHandler::ProcessHandler() covSumFile << "\t<File Name=\"" << this->CTest->MakeXMLSafe(fileName) << "\" FullPath=\"" << this->CTest->MakeXMLSafe( this->CTest->GetShortPathToFile(fullFileName.c_str())) - << "\" Covered=\"" << (tested==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>"; |