summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.lcov-config4
-rw-r--r--Makefile.am10
2 files changed, 8 insertions, 6 deletions
diff --git a/.lcov-config b/.lcov-config
index bb631ac58f..ef201f5c5f 100644
--- a/.lcov-config
+++ b/.lcov-config
@@ -1 +1,3 @@
1geninfo_auto_base = 1 1geninfo_auto_base=1
2lcov_branch_coverage=1
3genhtml_branch_coverage=1
diff --git a/Makefile.am b/Makefile.am
index 08d87016d0..9aecc454d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -430,11 +430,11 @@ lcov-reset:
430 430
431lcov-report: 431lcov-report:
432 $(MKDIR_P) $(top_builddir)/coverage 432 $(MKDIR_P) $(top_builddir)/coverage
433 lcov --capture --compat-libtool --no-external --config-file .lcov-config --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) 433 lcov --capture --compat-libtool --no-external --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --config-file .lcov-config --rc lcov_branch_coverage=1
434 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info 434 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info --config-file .lcov-config --rc lcov_branch_coverage=1
435 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info 435 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info --config-file .lcov-config --rc lcov_branch_coverage=1
436 lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned3.info 436 lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned3.info --config-file .lcov-config --rc lcov_branch_coverage=1
437 genhtml --legend -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned3.info 437 genhtml --config-file .lcov-config --legend -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned3.info
438 @echo "Coverage Report at $(top_builddir)/coverage/html" 438 @echo "Coverage Report at $(top_builddir)/coverage/html"
439 439
440endif 440endif