summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-03-21 15:45:41 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2013-03-21 15:45:41 +0000
commitb2cc064c2fa0dd05d2d054f4587392eb44aba15a (patch)
tree33fe065137c9653cb9856732164aedbe79933e77
parent6e0c0ef3f681b136700bc77a5f89e0f40251705c (diff)
coverage: Remove unit test code from coverage reports.
We only want to have the report about the library code and not the code testing it.
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a699dcf..3f50f12 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -62,7 +62,8 @@ lcov-report:
62 @mkdir $(top_builddir)/coverage 62 @mkdir $(top_builddir)/coverage
63 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) 63 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
64 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info 64 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
65 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info 65 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
66 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned2.info
66 @echo "Coverage Report at $(top_builddir)/coverage/html" 67 @echo "Coverage Report at $(top_builddir)/coverage/html"
67 68
68check-local: 69check-local: