On Mon, Dec 22, 2008 at 4:36 PM, Bill Hoffman <bill.hoff...@kitware.com> wrote: > Mathieu Malaterre wrote: >> >> On Mon, Dec 22, 2008 at 4:17 PM, Bill Hoffman <bill.hoff...@kitware.com> >> wrote: >>> >>> Blezek, Daniel J. wrote: >>>> >>>> Hi, >>>> >>>> We're ramping up our testing using CDash, CTest, and CMake. I started >>>> a >>>> coverage build but get no coverage information. I'm not sure how to >>>> debug >>>> ctest as it doesn't produce coverage information properly. Long post, >>>> sorry. >> >> Dan, >> >> I am also experiencing the same issue here (gdcm dashboard). What I >> found out is simply doing: >> >> cat dashboard.sh >> ... >> ctest -S main_dashboard_with_coverage.cmake >> # extra steps to submit coverage properly (almost): >> cd $HOME/Dashboards/MyTests/gdcm-2-0-nightly-cov >> make NightlyCoverage && make NightlySubmit >> ... >> >> not nice, but at least give the results I was looking for >> (coverage). Until someone with lots of free time, figure out the real >> issue, I'll continue this way. >> > > CMake, and several other projects at Kitware are submitting coverage just > fine.... Exactly what is in the main_dashboard_with_coverage.cmake that > does not work??? >
Here you go. http://www.cdash.org/CDash/viewNotes.php?buildid=235370 I do not remember all the details, but I *think* gcov was complaining about some files not being found. While the second time I would be running make *Coverage, it would work. > The two that are gcov based are old style scripts. I will see about setting > up a new style gcov based script, but if NightlyCoverage works, I don't see > why the new style ctest would not work... I know :( -- Mathieu _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake