summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-04-25 10:49:36 +0100
committerDaniel Willmann <d.willmann@samsung.com>2013-04-25 10:49:36 +0100
commit45b4960e145ea14f4096daf538ca12ddab7ff68a (patch)
treecfeacd13fddb1ec07e203c95d93984844264a511 /Makefile.am
parent2e0859f112743f15c0a7e6253d89a9e557ad880c (diff)
lcov-check: Enable branch coverage on newer lcov versions
In newer versions branch coverage is disabled by default. Re-enable it explicitly. Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Diffstat (limited to '')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 781c5d9487..8a3325035c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -300,7 +300,7 @@ lcov-report:
300 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/ 300 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/
301 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info 301 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
302 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info 302 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
303 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned2.info 303 genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned2.info
304 @echo "Coverage Report at $(top_builddir)/coverage/html" 304 @echo "Coverage Report at $(top_builddir)/coverage/html"
305 305
306endif 306endif