<div class="gmail_quote">On Mon, May 28, 2012 at 5:24 PM, Marcus D. Hanwell <span dir="ltr"><<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Mon, May 28, 2012 at 4:55 PM, Kyle Lutz <<a href="mailto:kyle.lutz@kitware.com">kyle.lutz@kitware.com</a>> wrote:<br>
> On Mon, May 28, 2012 at 4:51 PM, David Lonie <<a href="mailto:david.lonie@kitware.com">david.lonie@kitware.com</a>> wrote:<br>
>> Hi list,<br>
>><br>
>> Is there a way to exclude file(s) from coverage testing? I'd like to ignore:<br>
>><br>
>> molequeue/testing/*<br>
>> *moc_*<br>
>> thirdparty/*<br>
>><br>
>> in the MoleQueue coverage tests.<br>
><br>
> Yeah, it's not too hard.<br>
><br>
> See the "set(CTEST_CUSTOM_COVERAGE_EXCLUDE ...)" line in the script<br>
> here: <a href="http://my.cdash.org/viewNotes.php?buildid=327037" target="_blank">http://my.cdash.org/viewNotes.php?buildid=327037</a><br>
<br>
</div></div>See,<br>
<br>
<a href="https://github.com/OpenChemistry/avogadrolibs/blob/master/cmake/CTestCustom.cmake.in" target="_blank">https://github.com/OpenChemistry/avogadrolibs/blob/master/cmake/CTestCustom.cmake.in</a><br>
<br>
This is configured in the build tree, and then applies to any<br>
dashboard submission. I think Avogadro has one I wrote too, but this<br>
is generally preferred when it should be excluded from coverage<br>
everywhere.</blockquote><div><br></div><div>Thanks guys -- I've pushed a patch: <a href="http://review.source.kitware.com/#/c/5963/">http://review.source.kitware.com/#/c/5963/</a></div><div><br></div><div>Dave</div><div>
</div></div>