Subject: Fix CTest coverage xml generation. Bugzilla: http://public.kitware.com/Bug/view.php?id=6988 --- Source/CTest/cmCTestCoverageHandler.cxx +++ Source/CTest/cmCTestCoverageHandler.cxx @@ -538,7 +538,7 @@ int cmCTestCoverageHandler::ProcessHandl 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";