[Openchemistry-developers] Coverage exclusions

David Lonie david.lonie at kitware.com
Tue May 29 08:24:57 EDT 2012


On Mon, May 28, 2012 at 5:24 PM, Marcus D. Hanwell <
marcus.hanwell at kitware.com> wrote:

> On Mon, May 28, 2012 at 4:55 PM, Kyle Lutz <kyle.lutz at kitware.com> wrote:
> > On Mon, May 28, 2012 at 4:51 PM, David Lonie <david.lonie at kitware.com>
> wrote:
> >> Hi list,
> >>
> >> Is there a way to exclude file(s) from coverage testing? I'd like to
> ignore:
> >>
> >> molequeue/testing/*
> >> *moc_*
> >> thirdparty/*
> >>
> >> in the MoleQueue coverage tests.
> >
> > Yeah, it's not too hard.
> >
> > See the "set(CTEST_CUSTOM_COVERAGE_EXCLUDE ...)" line in the script
> > here: http://my.cdash.org/viewNotes.php?buildid=327037
>
> See,
>
>
> https://github.com/OpenChemistry/avogadrolibs/blob/master/cmake/CTestCustom.cmake.in
>
> This is configured in the build tree, and then applies to any
> dashboard submission. I think Avogadro has one I wrote too, but this
> is generally preferred when it should be excluded from coverage
> everywhere.


Thanks guys -- I've pushed a patch:
http://review.source.kitware.com/#/c/5963/

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/openchemistry-developers/attachments/20120529/380ad45d/attachment.html>


More information about the Openchemistry-developers mailing list