From: Matthias Clasen Date: Sun, 8 Aug 2010 05:07:53 +0000 (-0400) Subject: Simplify gcov generation X-Git-Tag: 2.25.14~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8804d6a98ffabc83bea2a35d4aaf26617fa062f0;p=platform%2Fupstream%2Fglib.git Simplify gcov generation lcov seems to handle .libs just fine on its own. --- diff --git a/Makefile.decl b/Makefile.decl index 3b344eb..d07e6d2 100644 --- a/Makefile.decl +++ b/Makefile.decl @@ -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