ENH: show files as untested if no lines are covered
This commit is contained in:
parent
1d250298d0
commit
e8f3b5ff00
|
@ -529,7 +529,7 @@ int cmCTestCoverageHandler::ProcessHandler()
|
||||||
covSumFile << "\t<File Name=\"" << this->CTest->MakeXMLSafe(fileName)
|
covSumFile << "\t<File Name=\"" << this->CTest->MakeXMLSafe(fileName)
|
||||||
<< "\" FullPath=\"" << this->CTest->MakeXMLSafe(
|
<< "\" FullPath=\"" << this->CTest->MakeXMLSafe(
|
||||||
this->CTest->GetShortPathToFile(fullFileName.c_str()))
|
this->CTest->GetShortPathToFile(fullFileName.c_str()))
|
||||||
<< "\" Covered=\"" << (cmet>0?"true":"false") << "\">\n"
|
<< "\" Covered=\"" << (tested==0?"true":"false") << "\">\n"
|
||||||
<< "\t\t<LOCTested>" << tested << "</LOCTested>\n"
|
<< "\t\t<LOCTested>" << tested << "</LOCTested>\n"
|
||||||
<< "\t\t<LOCUnTested>" << untested << "</LOCUnTested>\n"
|
<< "\t\t<LOCUnTested>" << untested << "</LOCUnTested>\n"
|
||||||
<< "\t\t<PercentCoverage>";
|
<< "\t\t<PercentCoverage>";
|
||||||
|
|
Loading…
Reference in New Issue