mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +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:
parent
4f0ee9c3b0
commit
9cd6f0da6e
1 changed files with 3 additions and 3 deletions
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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue