From e48442c9033c2b9cd0ffc24e3d2f2c95fdca12c9 Mon Sep 17 00:00:00 2001 From: Reza Arbab Date: Fri, 2 Aug 2024 12:38:28 -0500 Subject: [PATCH] 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 --- Makefile.main | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.main b/Makefile.main index 5240d71b145..d25d1c9cd95 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