From e8f3b5ff005a545bb2d11f748fa5646e68402649 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 3 Aug 2007 16:44:04 -0400 Subject: ENH: show files as untested if no lines are covered --- 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 6a5f81d..1f27394 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -529,7 +529,7 @@ int cmCTestCoverageHandler::ProcessHandler() covSumFile << "\tCTest->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" << tested << "\n" << "\t\t" << untested << "\n" << "\t\t"; -- cgit v0.12