Print out URL to HTML coverage report after 'make lcov'
authorStef Walter <stefw@collabora.co.uk>
Sun, 28 Aug 2011 04:58:29 +0000 (06:58 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 29 Aug 2011 19:14:38 +0000 (15:14 -0400)
* For easy clicking

https://bugzilla.gnome.org/show_bug.cgi?id=657540

Makefile.decl

index f4ba2a2..d84030d 100644 (file)
@@ -86,6 +86,7 @@ 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
+       @echo "file://$(abs_top_builddir)/glib-lcov/index.html"
 
 lcov-clean:
        -$(LTP) --directory $(top_builddir) -z