mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
build: use intermediate lcov coverage file
Otherwise the 'lcov -q --remove' run fails with the following error: lcov: ERROR: cannot write to coverage.info! Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
bb7522ce67
commit
14bf59c1d5
2
Makefile
2
Makefile
@ -177,7 +177,7 @@ clean::
|
||||
$(RM) $(CLEANSUFFIXES)
|
||||
$(RM) $(CLEANSUFFIXES:%=tools/%)
|
||||
$(RM) -r coverage-html
|
||||
$(RM) -rf coverage.info lcov
|
||||
$(RM) -rf coverage.info coverage.info.in lcov
|
||||
|
||||
distclean::
|
||||
$(RM) $(DISTCLEANSUFFIXES)
|
||||
|
@ -217,8 +217,9 @@ fate-list:
|
||||
coverage.info: TAG = LCOV
|
||||
coverage.info:
|
||||
$(M)lcov -q -d $(CURDIR) -b $(patsubst src%,./,$(SRC_LINK)) --capture | \
|
||||
sed "s,$(CURDIR)/\./,$(CURDIR)/," > $@
|
||||
$(M)lcov -q --remove $@ "/usr*" -o $@
|
||||
sed "s,$(CURDIR)/\./,$(CURDIR)/," > $@.in
|
||||
$(M)lcov -q --remove $@.in "/usr*" > $@
|
||||
$(Q)$(RM) $@.in
|
||||
|
||||
lcov: TAG = GENHTML
|
||||
lcov: coverage.info
|
||||
|
Loading…
Reference in New Issue
Block a user