[Openchemistry-developers] Coverage exclusions
Marcus D. Hanwell
marcus.hanwell at kitware.com
Mon May 28 17:24:32 EDT 2012
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.
Marcus
More information about the Openchemistry-developers
mailing list