Merge topic 'honor-gcov-empty-coverage'
58d75e2
CTest: mark all gcov covered files as covered
This commit is contained in:
commit
cee42a73e8
|
@ -555,7 +555,7 @@ int cmCTestCoverageHandler::ProcessHandler()
|
||||||
covSumFile << "\t<File Name=\"" << cmXMLSafe(fileName)
|
covSumFile << "\t<File Name=\"" << cmXMLSafe(fileName)
|
||||||
<< "\" FullPath=\"" << cmXMLSafe(
|
<< "\" FullPath=\"" << cmXMLSafe(
|
||||||
this->CTest->GetShortPathToFile(fullFileName.c_str()))
|
this->CTest->GetShortPathToFile(fullFileName.c_str()))
|
||||||
<< "\" Covered=\"" << (tested > 0 ? "true":"false") << "\">\n"
|
<< "\" Covered=\"" << (tested+untested > 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