mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 04:15:49 +01:00
Generate overview images for coverage
lcov has the options to generate overview images for each source file with the --frames option. Lets try this.
This commit is contained in:
parent
dbe560ac01
commit
38afb17598
2
glib.mk
2
glib.mk
@ -54,7 +54,7 @@ lcov:
|
|||||||
genlcov:
|
genlcov:
|
||||||
rm -f $(top_builddir)/tests/.libs/libmoduletestplugin_*.gcda
|
rm -f $(top_builddir)/tests/.libs/libmoduletestplugin_*.gcda
|
||||||
$(LTP) --directory $(top_builddir) --capture --output-file glib-lcov.info --test-name GLIB_PERF --no-checksum --compat-libtool
|
$(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
|
LANG=C $(LTP_GENHTML) --prefix $(top_builddir) --output-directory glib-lcov --title "GLib Code Coverage" --legend --frames --show-details glib-lcov.info
|
||||||
@echo "file://$(abs_top_builddir)/glib-lcov/index.html"
|
@echo "file://$(abs_top_builddir)/glib-lcov/index.html"
|
||||||
|
|
||||||
lcov-clean:
|
lcov-clean:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user