[CDash] Branch Coverage with GCov

Zack Galbreath zack.galbreath at kitware.com
Wed Mar 6 19:08:31 UTC 2019

On Mon, Feb 25, 2019 at 12:54 PM Cristian Morales Vega <
christian.morales.vega at gmail.com> wrote:

> I'm wondering why the script uses ctest_coverage_collect_gcov() instead of
> ctest_coverage()

When we implemented branch coverage in CDash, we made the design decision
to let CDash handle the parsing. Previously coverage data was parsed by
CTest (generating Coverage.xml and CoverageLog.xml) and then uploaded to
CDash. With this new approach we now upload the .gcov files directly to
CDash and parse them server-side instead.

As to why this isn't working for you, I'm not sure. Do you see the uploaded
gcov.tar file in your backup/ directory on the CDash server?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20190306/469b2cd5/attachment.htm>

More information about the CDash mailing list