summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-03-04 14:38:43 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-03-04 14:38:43 +0900
commit2b191fd8353a5ac1db7b9a6202625a76ce181131 (patch)
treec41608b5017a8da465be20f58626742a81cfd97c /Makefile.am
parentab12337d76301ae9a80144551a1e375e9ea7f007 (diff)
downloadefl-2b191fd8353a5ac1db7b9a6202625a76ce181131.tar.gz
coverage: don't report coverage of the tests themself.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index aadfb3283b..6715b8381d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -268,7 +268,8 @@ lcov-report:
@mkdir $(top_builddir)/coverage
lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/
lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
- genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
+ lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
+ genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned2.info
@echo "Coverage Report at $(top_builddir)/coverage/html"
endif