Generate overview images for coverage
authorMatthias Clasen <mclasen@redhat.com>
Thu, 28 Nov 2013 19:50:59 +0000 (14:50 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 28 Nov 2013 21:01:23 +0000 (16:01 -0500)
lcov has the options to generate overview images for each source
file with the --frames option. Lets try this.

glib.mk

diff --git a/glib.mk b/glib.mk
index de87d58..f38d929 100644 (file)
--- a/glib.mk
+++ b/glib.mk
@@ -54,7 +54,7 @@ lcov:
 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 --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"
 
 lcov-clean: