> So if no lines are covered then it reports 'Covered="false"' which leads > CDash to entirely ignoring the line count and not showing a link to the > file. In contrast it does that when collecting files using > CTEST_EXTRA_COVERAGE_GLOB: > > covSumFile << "\t<File Name=\"" << cmXMLSafe(fileName) > << "\" FullPath=\"" << cmXMLSafe(i->c_str()) > << "\" Covered=\"true\">\n" > << "\t\t<LOCTested>0</LOCTested>\n" > << "\t\t<LOCUnTested>" << untested << "</LOCUnTested>\n" > > Covered is always set to true here. So the quick and dirty fix I used was to > change the one line to > > << "\" Covered=\"" << (tested+untested > 0 ? "true":"false") << > "\">\n"
Pushed as 58d75e22ae3ed4279b0596eeab73063719bb61d0 to next. Eike
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
