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)
coverage: don't report coverage of the tests themself.
Diffstat (limited to '')
-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:
268 @mkdir $(top_builddir)/coverage 268 @mkdir $(top_builddir)/coverage
269 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/ 269 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/
270 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info 270 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
271 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info 271 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
272 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned2.info
272 @echo "Coverage Report at $(top_builddir)/coverage/html" 273 @echo "Coverage Report at $(top_builddir)/coverage/html"
273 274
274endif 275endif