mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-12 16:10:24 +01:00
[Makefile.am] Further massage lcov paths for srcdir != builddir.
The lcov scripts generate incorrect absolute paths to the builddir for source files - so convert them to srcdir using sed.
This commit is contained in:
parent
0a4ced5a26
commit
bb41fa22e3
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ lcov-perf:
|
|||
# we have to massage the lcov.info file slightly to hide the effect of libtool
|
||||
# placing the objects files in the .libs/ directory separate from the *.c
|
||||
genlcov:
|
||||
$(LTP) --directory $(top_builddir) --capture --output-file cairo-lcov.info --test-name CAIRO_PERF --no-checksum
|
||||
$(SED) -e 's#.libs/##' < cairo-lcov.info > cairo-lcov.info.tmp
|
||||
$(LTP) --directory $(top_builddir) --path $(top_builddir) --capture --output-file cairo-lcov.info --test-name CAIRO_TEST --no-checksum
|
||||
$(SED) -e 's#.libs/##' -e 's#$(shell pwd)#$(shell cd $(top_srcdir) && pwd)#' < cairo-lcov.info > cairo-lcov.info.tmp
|
||||
LANG=C $(LTP_GENHTML) --prefix $(top_builddir) --output-directory cairo-lcov --title "Cairo Code Coverage" --show-details cairo-lcov.info.tmp
|
||||
$(RM) cairo-lcov.info.tmp
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue