From ebf516c074e39ce81f7681e0c285e22751534047 Mon Sep 17 00:00:00 2001 From: Jakub Sitnicki Date: Sun, 11 Jan 2015 15:07:20 +0100 Subject: [PATCH] build: remove incomplete support for code coverage Looks like make targets for generating code coverage reports with LCOV were copied from GLib but corresponding changes to configure.ac were not made. Clean it up. --- gtester.make | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/gtester.make b/gtester.make index 40348dcd..f9cb8161 100644 --- a/gtester.make +++ b/gtester.make @@ -67,25 +67,5 @@ test-report perf-report full-report: ${TEST_PROGS} } .PHONY: test test-report perf-report full-report test-nonrecursive -.PHONY: lcov genlcov lcov-clean -# use recursive makes in order to ignore errors during check -lcov: - -$(MAKE) $(AM_MAKEFLAGS) -k check - $(MAKE) $(AM_MAKEFLAGS) genlcov - -# we have to massage the lcov.info file slightly to hide the effect of libtool -# placing the objects files in the .libs/ directory separate from the *.c -# 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 --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 - -rm -rf glib-lcov.info glib-lcov - -find -name '*.gcda' -print | xargs rm - # run tests in cwd as part of make check check-local: test-nonrecursive