From 2b6ee95c1dc24bfb5701c4156e6c429eac824368 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 8 May 2008 12:47:30 -0400 Subject: [PATCH] BUG: 0006988 do not set coverage to false when it is not --- Source/CTest/cmCTestCoverageHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 5ef9e55f8..a3a9c8f6f 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -538,7 +538,7 @@ int cmCTestCoverageHandler::ProcessHandler() covSumFile << "\tCTest->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" << tested << "\n" << "\t\t" << untested << "\n" << "\t\t";