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.
This commit is contained in:
Arne Welzel 2024-08-02 17:18:02 +02:00
parent f1167fc87f
commit 11bc233f45

View file

@ -116,7 +116,7 @@ verify_run "which lcov" \
# 4. Create a "tracefile" through lcov, which is necessary to create output later on. # 4. Create a "tracefile" through lcov, which is necessary to create output later on.
echo -n "Creating tracefile for output generation... " 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 # 5. Remove a number of 3rdparty and "extra" files that shouldn't be included in the
# Zeek coverage numbers. # Zeek coverage numbers.