summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-04-29 14:48:06 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2014-04-29 14:48:06 +0200
commit7797546d7f0eb4af203fe3e30c2d837556d6ac72 (patch)
treed04809d1c41e6bd28a6b9b85f91635650ba12d4d /Makefile.am
parent9a1151c1bda10be2081b264b02e79abdf3408394 (diff)
build/lcov/: Disable coverage for external headers
Some gcc header sneaked in before but with the new lcov option we can avoid this.
Diffstat (limited to '')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 70a7445694..12aa04464c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -344,7 +344,7 @@ lcov-reset:
344 344
345lcov-report: 345lcov-report:
346 @mkdir $(top_builddir)/coverage 346 @mkdir $(top_builddir)/coverage
347 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/ 347 lcov --capture --compat-libtool --no-external --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/
348 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info 348 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
349 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info 349 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
350 lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned3.info 350 lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned3.info