From 11bc233f45e102fa06fba576eacd400506098fb1 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Fri, 2 Aug 2024 17:18:02 +0200 Subject: [PATCH] coverage/lcov_html: Ignore testing/btest/.tmp gcda/gcno files in the btest/.tmp directory are from .htlo files referencing ephemeral cc files. No need to include these. --- testing/coverage/lcov_html.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/coverage/lcov_html.sh b/testing/coverage/lcov_html.sh index ba8c8a37df..be65e4add4 100755 --- a/testing/coverage/lcov_html.sh +++ b/testing/coverage/lcov_html.sh @@ -116,7 +116,7 @@ verify_run "which lcov" \ # 4. Create a "tracefile" through lcov, which is necessary to create output later on. echo -n "Creating tracefile for output generation... " -verify_run "lcov --no-external --capture --directory . --output-file $COVERAGE_FILE" +verify_run "lcov --no-external --capture --directory . --exclude 'testing/btest/.tmp/*' --output-file $COVERAGE_FILE" # 5. Remove a number of 3rdparty and "extra" files that shouldn't be included in the # Zeek coverage numbers.