[FFmpeg-devel] [PATCH] coverage: filter /usr/include*, not entire /usr*

foo86 foobaz86 at gmail.com
Mon Jul 31 23:27:58 EEST 2017


/usr* filters all sources when building in /usr/src, which is probably
not intended.
---
 tests/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile b/tests/Makefile
index ab83ae855d..2c67095052 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -228,7 +228,7 @@ coverage.info: TAG = LCOV
 coverage.info:
 	$(M)lcov -q -d $(CURDIR) -b $(patsubst src%,./,$(SRC_LINK)) --capture | \
 	    sed "s,$(CURDIR)/\./,$(CURDIR)/," > $@.in
-	$(M)lcov -q --remove $@.in "/usr*" > $@
+	$(M)lcov -q --remove $@.in "/usr/include*" > $@
 	$(Q)$(RM) $@.in
 
 lcov:  TAG = GENHTML
-- 
2.11.0



More information about the ffmpeg-devel mailing list