Skip to content

Commit

Permalink
lcov: limit to files from net/mptcp
Browse files Browse the repository at this point in the history
Because the coverage is only added there, no need to check files from
includes that will always be partially covered.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed Sep 26, 2024
1 parent eac24f8 commit 074851e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ gcov_extract() {
if [ -d /sys/kernel/debug/gcov ]; then
log_section_start "GCOV capture"
lcov --capture --keep-going --rc geninfo_unexecuted_blocks=1 \
--function-coverage --branch-coverage \
--include '/net/mptcp/' --function-coverage --branch-coverage \
-b "${VIRTME_BUILD_DIR}" -j "${INPUT_CPUS}" -o "${LCOV_FILE}"
log_section_end
fi
Expand Down

0 comments on commit 074851e

Please sign in to comment.