aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-03-15 15:54:38 +0100
committerTobias Brunner <tobias@strongswan.org>2017-03-15 15:54:38 +0100
commit3bc8a4a581bc7086e6e41d22a8a4427bca1825c6 (patch)
treea3f880af0a2645b185b08e6c66ce90ce02d410fd /Makefile.am
parent42f7c98980c20e17377559afcd91c7d25caced58 (diff)
downloadstrongswan-3bc8a4a581bc7086e6e41d22a8a4427bca1825c6.tar.bz2
strongswan-3bc8a4a581bc7086e6e41d22a8a4427bca1825c6.tar.xz
coverage: Exclude test suites and /usr from coverage report
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 64b858d5e..a02c576e0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,7 +54,7 @@ cov-report:
@mkdir $(top_builddir)/coverage
lcov -c -o $(top_builddir)/coverage/coverage.info -d $(top_builddir) \
--rc lcov_branch_coverage=1
- lcov -r $(top_builddir)/coverage/coverage.info '*/tests/*' \
+ lcov -r $(top_builddir)/coverage/coverage.info '*/tests/*' '*/suites/*' '/usr*' \
-o $(top_builddir)/coverage/coverage.cleaned.info \
--rc lcov_branch_coverage=1
genhtml --num-spaces 4 --legend --branch-coverage --ignore-errors source \