You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
build: normalize coverage.info
Without this, lcov sometimes misses to normalize paths that contain "/./". Also, ignore uninteresting hits in system headers.
This commit is contained in:
@@ -129,7 +129,9 @@ fate-list:
|
|||||||
|
|
||||||
coverage.info: TAG = LCOV
|
coverage.info: TAG = LCOV
|
||||||
coverage.info:
|
coverage.info:
|
||||||
$(M)lcov -q -d $(CURDIR) -b $(SRC_PATH) --capture -o $@
|
$(M)lcov -q -d $(CURDIR) -b $(SRC_PATH) --capture | \
|
||||||
|
sed "s,$(CURDIR)/\./,$(CURDIR)/," > $@
|
||||||
|
$(M)lcov -q --remove $@ "/usr/include*" -o $@
|
||||||
|
|
||||||
lcov: TAG = GENHTML
|
lcov: TAG = GENHTML
|
||||||
lcov: coverage.info
|
lcov: coverage.info
|
||||||
|
Reference in New Issue
Block a user