From b995296f8cbf63b1463a9e0e1f6fbecc57e59fd5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 13 Nov 2007 08:07:49 +0100 Subject: [PATCH] Makefile.am: added simple 'make lcov' rules --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index b37e3b64..ab6963d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,3 +35,9 @@ uninstall-pkgconfig: install-data-hook: install-pkgconfig uninstall-hook: uninstall-pkgconfig +lcov: all + mkdir -p $(top_builddir)/lcov + lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --zerocounters + cd tests/python && ./run_all_tests -v || echo "some tests failed" + lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --capture + genhtml --output-directory $(top_builddir)/lcov $(top_builddir)/lcov/aubio.info -- 2.26.2