From 3777724e58a8e704c0476c76afaf4cc869afc980 Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Tue, 14 Jan 2025 13:47:12 -0600 Subject: [PATCH] Exclude test files from coverage command (#5232) * Exclude test files from coverage command * Exlude compression sources --- config/cmake/CTestCustom.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/cmake/CTestCustom.cmake b/config/cmake/CTestCustom.cmake index f29416ac833..2d9177abd6e 100644 --- a/config/cmake/CTestCustom.cmake +++ b/config/cmake/CTestCustom.cmake @@ -192,3 +192,9 @@ set (CTEST_CUSTOM_MEMCHECK_IGNORE H5WATCH-clearall-objects H5WATCH-cleanall-objects ) + +list (APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE + "/test/" + "/_deps/" +) +