Skip to content

Commit

Permalink
btrfs-progs: ci: fix lcov warnings on unexecuted blocks
Browse files Browse the repository at this point in the history
There's a report on the CI after base ubuntu image update:

geninfo: WARNING:
/home/runner/work/btrfs-progs/btrfs-progs/common/device-scan.c:429:
unexecuted block on non-branch line with non-zero hit count.  Use
"geninfo --rc geninfo_unexecuted_blocks=1 to set count to zero.
	(use "geninfo --ignore-errors gcov,gcov ..." to suppress this warning)

Signed-off-by: David Sterba <[email protected]>
  • Loading branch information
kdave committed Jun 19, 2024
1 parent 91a20bc commit 1dfd256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Generate lcov results
run: |
lcov -c -d . -o lcov-info
genhtml -o lcov-out lcov-info
genhtml --rc geninfo_unexecuted_blocks=1 -o lcov-out lcov-info
- name: Save lcov results
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 1dfd256

Please sign in to comment.