diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index d924480117..6daca61cf9 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -126,6 +126,9 @@ list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE # Exclude Qt source files from coverage results: "[A-Za-z]./[Qq]t/qt-.+-opensource-src" + + # Exclude coverage results from coverage test directories. + "/Testing/.*Coverage/" ) list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE