[FFmpeg-cvslog] build: fix lcov with src link
Andreas Cadhalpun
git at videolan.org
Sat Feb 6 16:25:58 CET 2016
ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Wed Feb 3 00:24:21 2016 +0100| [bb7522ce67e59271c928fc85ace6cd2d86aa131f] | committer: Andreas Cadhalpun
build: fix lcov with src link
When out-of-tree builds now use a relative path, the '-b' option of lcov
is not needed, so just pass the current directory to it in this case.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb7522ce67e59271c928fc85ace6cd2d86aa131f
---
tests/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile b/tests/Makefile
index ac524ac..db2bc61 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -216,7 +216,7 @@ fate-list:
coverage.info: TAG = LCOV
coverage.info:
- $(M)lcov -q -d $(CURDIR) -b $(SRC_PATH) --capture | \
+ $(M)lcov -q -d $(CURDIR) -b $(patsubst src%,./,$(SRC_LINK)) --capture | \
sed "s,$(CURDIR)/\./,$(CURDIR)/," > $@
$(M)lcov -q --remove $@ "/usr*" -o $@
More information about the ffmpeg-cvslog
mailing list