diff options
author | Jakub Sitnicki <jsitnicki@gmail.com> | 2015-01-11 15:07:20 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-01-11 19:32:33 +0100 |
commit | ebf516c074e39ce81f7681e0c285e22751534047 (patch) | |
tree | 4e34aa9da5a421b9c613b4cc9be4340a5237f846 | |
parent | 470b02e8c8ee97277a2cfbb7e79853c03340b09b (diff) |
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.
-rw-r--r-- | gtester.make | 20 |
1 files changed, 0 insertions, 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 |