CTest: Option to exclude files from coverage before running gcov
We have some test files that cause gcov to get stuck in an infinite loop. We were hoping to simply exclude those files from coverage with "CTEST_CUSTOM_COVERAGE_EXCLUDE". Looking through the source, it looks like the values passed to CTEST_CUSTOM_COVERAGE_EXCLUDE are only applied during the "Accumulating Results" section. I am not that familiar with the other coverage tools options, but does it make sense to exclude the files during the "Processing Coverage" step, at least for gcov which has a tendency to do this? I appreciate that this is not fundamentally a CMake issue, but thought I would check.