diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-02-03 00:24:21 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-02-06 15:30:25 +0100 |
commit | bb7522ce67e59271c928fc85ace6cd2d86aa131f (patch) | |
tree | 51766f7aebd892d33183781276f0b25cea00f409 /tests/Makefile | |
parent | e740c3fb90c02802bc121e9f5a3cf58615b4cea1 (diff) | |
download | ffmpeg-streaming-bb7522ce67e59271c928fc85ace6cd2d86aa131f.zip ffmpeg-streaming-bb7522ce67e59271c928fc85ace6cd2d86aa131f.tar.gz |
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@googlemail.com>
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 $@ |