mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
Simplify gcov generation
lcov seems to handle .libs just fine on its own.
This commit is contained in:
parent
01cae84e47
commit
8804d6a98f
@ -78,10 +78,8 @@ lcov:
|
||||
# we also have to delete tests/.libs/libmoduletestplugin_*.gcda
|
||||
genlcov:
|
||||
rm -f $(top_builddir)/tests/.libs/libmoduletestplugin_*.gcda
|
||||
$(LTP) --directory $(top_builddir) --capture --output-file glib-lcov.info --test-name GLIB_PERF --no-checksum
|
||||
$(SED) -e 's#.libs/##' < glib-lcov.info > glib-lcov.info.tmp
|
||||
LANG=C $(LTP_GENHTML) --prefix $(top_builddir) --output-directory glib-lcov --title "GLib Code Coverage" --legend --show-details glib-lcov.info.tmp
|
||||
rm -f glib-lcov.info.tmp
|
||||
$(LTP) --directory $(top_builddir) --capture --output-file glib-lcov.info --test-name GLIB_PERF --no-checksum --compat-libtool
|
||||
LANG=C $(LTP_GENHTML) --prefix $(top_builddir) --output-directory glib-lcov --title "GLib Code Coverage" --legend --show-details glib-lcov.info
|
||||
|
||||
lcov-clean:
|
||||
-$(LTP) --directory $(top_builddir) -z
|
||||
|
Loading…
Reference in New Issue
Block a user