Pārlūkot izejas kodu

CTestCustom: ignore coverage results from coverage tests

Ben Boeckel 2 mēneši atpakaļ
vecāks
revīzija
61aed5e5f2
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      CTestCustom.cmake.in

+ 3 - 0
CTestCustom.cmake.in

@@ -126,6 +126,9 @@ list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
 
 
   # Exclude Qt source files from coverage results:
   # Exclude Qt source files from coverage results:
   "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
   "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
+
+  # Exclude coverage results from coverage test directories.
+  "/Testing/.*Coverage/"
   )
   )
 
 
 list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
 list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE