mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
Fix paths to .gcda files
After refactoring of build system we broke target for code coverage report generation in the main Makefile. This patch fix it. Signed-off-by: Sergey Bronnikov <sergeyb@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
4f0ee9c3b0
commit
9cd6f0da6e
6
Makefile
6
Makefile
@@ -188,9 +188,9 @@ PHONY += cscope
|
||||
gcov:
|
||||
$(E) " GCOV"
|
||||
$(Q) test -d gcov || mkdir gcov && \
|
||||
cp *.{gcno,c} test/`pwd`/ && \
|
||||
geninfo --output-filename gcov/crtools.h.info --no-recursion . && \
|
||||
geninfo --output-filename gcov/crtools.ns.info --no-recursion test/`pwd`/ && \
|
||||
cp criu/*.{gcno,c,h} test/`pwd`/criu/ && \
|
||||
geninfo --output-filename gcov/crtools.h.info --no-recursion criu/ && \
|
||||
geninfo --output-filename gcov/crtools.ns.info --no-recursion test/`pwd`/criu/ && \
|
||||
sed -i 's#/test/`pwd`##' gcov/crtools.ns.info && \
|
||||
cd gcov && \
|
||||
lcov --rc lcov_branch_coverage=1 --add-tracefile crtools.h.info \
|
||||
|
Reference in New Issue
Block a user