[ITK-dev] Code coverage: using gcov in an itk external module

Matt McCormick matt.mccormick at kitware.com
Thu May 25 10:59:00 EDT 2017


On Thu, May 25, 2017 at 8:57 AM, Francois Budin <francois.budin at kitware.com>
wrote:

> That's great! Thanks for sharing!
>

+1!

90%+ is not too shabby at all :-).


Jon and I have investigated CodeCov [1] for ITK [2], but ITK's test suite
seems to overwhelm their system.  However, tests for a single external
module could work?

Here are the scripts that we used:

  https://gist.github.com/thewtex/1f410c90e8b9e9826989c0e04e97738b
  https://gist.github.com/thewtex/e3f59fdfba4f30ad2580dbb4db7a22e9
  https://gist.github.com/thewtex/cc7ade395c7aa309f38b137b8934e075

These work together with the itk_common.cmake CTest script in ITK's Git
repository dashboard branch.

Cheers,
Matt

[1] https://codecov.io/

[2] https://codecov.io/gh/InsightSoftwareConsortium/ITK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20170525/a8c516db/attachment.html>


More information about the Insight-developers mailing list