summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-03-26 12:18:18 -0400
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-05 11:10:24 +0200
commitda38811a71e796b07da4ae5e4411030e866b48d7 (patch)
tree10d4fd8ce1b55f58280a18c2654206d62651f483 /Makefile.am
parent8329dace50b88baa8bec852b47e12e2774593bf6 (diff)
build: merge all coverage exclusions into a single command and exclude more files
files in the excluded directories either can only be tested with stochastic results or testing them serves no purpose pruning these in separate commands adds 10-20s to each coverage build ref 28f9a5cdb36f01255a94ff8146ee915be506288f ref T6825 Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index 35a0315..e8624ef 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -470,12 +470,11 @@ lcov-baseline:
470lcov-report: lcov-baseline 470lcov-report: lcov-baseline
471 lcov --capture --compat-libtool --no-external --output-file $(abs_top_builddir)/coverage/coverage-check.info --directory $(abs_top_builddir) --config-file .lcov-config 471 lcov --capture --compat-libtool --no-external --output-file $(abs_top_builddir)/coverage/coverage-check.info --directory $(abs_top_builddir) --config-file .lcov-config
472 lcov --no-external --compat-libtool --add-tracefile $(abs_top_builddir)/coverage/coverage-baseline.info --add-tracefile $(abs_top_builddir)/coverage/coverage-check.info --output-file $(abs_top_builddir)/coverage/coverage.info --config-file .lcov-config 472 lcov --no-external --compat-libtool --add-tracefile $(abs_top_builddir)/coverage/coverage-baseline.info --add-tracefile $(abs_top_builddir)/coverage/coverage-check.info --output-file $(abs_top_builddir)/coverage/coverage.info --config-file .lcov-config
473 lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.info '*.h' --output-file $(abs_top_builddir)/coverage/coverage.cleaned.info --config-file .lcov-config 473 lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.info \
474 lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(abs_top_builddir)/coverage/coverage.cleaned2.info --config-file .lcov-config 474 '*.h' '*/tests/*' '*NONE*' '*/doc/*' '*usr/include*' '*/bin*' '*/edje_external*' \
475 lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(abs_top_builddir)/coverage/coverage.cleaned3.info --config-file .lcov-config 475 '*/generic/*' '*/modules/*' '*/static_libs/*' \
476 lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.cleaned3.info '*/doc/*' --output-file $(abs_top_builddir)/coverage/coverage.cleaned4.info --config-file .lcov-config 476 --output-file $(abs_top_builddir)/coverage/coverage.cleaned.info --config-file .lcov-config
477 lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.cleaned4.info '*usr/include*' --output-file $(abs_top_builddir)/coverage/coverage.cleaned5.info --config-file .lcov-config 477 genhtml --config-file .lcov-config --legend -t "$(PACKAGE_STRING)" -o $(abs_top_builddir)/coverage/html $(abs_top_builddir)/coverage/coverage.cleaned.info
478 genhtml --config-file .lcov-config --legend -t "$(PACKAGE_STRING)" -o $(abs_top_builddir)/coverage/html $(abs_top_builddir)/coverage/coverage.cleaned5.info
479 @echo "Coverage Report at $(abs_top_builddir)/coverage/html" 478 @echo "Coverage Report at $(abs_top_builddir)/coverage/html"
480 479
481endif 480endif