[Skiboot] [PATCH] Makefile: Use '--ignore-errors unused' with lcov
Reza Arbab
arbab at linux.ibm.com
Sat Aug 3 04:29:42 AEST 2024
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 at linux.ibm.com>
---
Makefile.main | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.main b/Makefile.main
index 5240d71b1457..d25d1c9cd954 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
--
2.43.5
More information about the Skiboot
mailing list