BUG: 0006988 do not set coverage to false when it is not
This commit is contained in:
parent
12935b1599
commit
2b6ee95c1d
|
@ -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>";
|
||||
|
|
Loading…
Reference in New Issue