diff options
author | Reza Arbab <arbab@linux.ibm.com> | 2024-08-02 13:29:42 -0500 |
---|---|---|
committer | Reza Arbab <arbab@linux.ibm.com> | 2024-09-10 13:17:01 -0500 |
commit | 4bb97ac0c474d0c211b5ed2f69bc95352d22a16e (patch) | |
tree | 00245736a52052fa9787bd113788932522755dec | |
parent | b835d208a028087c67c8edfad1a872c197acc24c (diff) | |
download | skiboot-4bb97ac0c474d0c211b5ed2f69bc95352d22a16e.zip skiboot-4bb97ac0c474d0c211b5ed2f69bc95352d22a16e.tar.gz skiboot-4bb97ac0c474d0c211b5ed2f69bc95352d22a16e.tar.bz2 |
Makefile: Use '--ignore-errors unused' with lcov
We are a bit overzealous in specifying arguments to 'lcov -r', listing
files (via wildcard) that are not actually in the tracefile.
This is harmless, but will cause newer lcov to generate an error message
of type 'unused'. Reduce this error to a warning.
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
-rw-r--r-- | Makefile.main | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main index 5240d71..d25d1c9 100644 --- a/Makefile.main +++ b/Makefile.main @@ -413,7 +413,7 @@ skiboot.info: coverage external/pflash/pflash.info external/gard/gard.info lcov -q -r $@ 'external/gard/*' -o $@ lcov -q -a $@ -a external/pflash/pflash.info -o $@ lcov -q -a $@ -a external/gard/gard.info -o $@ - lcov -q -r $@ $(LCOV_EXCLUDE) -o $@ --rc lcov_branch_coverage=1 + lcov -q -r $@ $(LCOV_EXCLUDE) -o $@ --rc lcov_branch_coverage=1 --ignore-errors unused doc: make -C doc html |