Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/build/tool/ccov.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ CI_FILTER=\

coverage/cov.lcov: FORCE
trap "rm -f $$$$.tmp" EXIT INT TERM;\
find . -name '*.profraw' |\
find test/ -name '*.profraw' |\
xargs llvm-profdata merge -o coverage/cov.profdata -sparse
find . -name '*.elf' |\
find test/ -name '*.elf' |\
xargs llvm-cov export --instr-profile coverage/cov.profdata --format lcov > $$$$.tmp &&\
mv $$$$.tmp $@

coverage/filtered.lcov: coverage/cov.lcov
trap "rm -f $$$$.tmp" EXIT INT TERM;\
find . -name '*.elf' |\
find test/ -name '*.elf' |\
xargs llvm-cov export --instr-profile coverage/cov.profdata --format lcov \
--sources $(CI_FILTER) \
--object > $$$$.tmp &&\
Expand Down
Loading