Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Remove system headers when preprocessing coverage report

Commit
67f734c79950690448c0ff70fac6cb153a729960
Author
Martin Hořeňovský ·
Parents
b76e80ed3db0

Files · Download .tar.gz

Changes

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ef02c139..9d667e51 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -306,7 +306,7 @@ if (NOT NO_SELFTEST)
 
     if (ENABLE_COVERAGE)
         add_coverage(SelfTest)
-        list(APPEND LCOV_REMOVE_PATTERNS "/sys/")
+        list(APPEND LCOV_REMOVE_PATTERNS "/usr/")
         coverage_evaluate()
     endif()