From f11bd58b24559f0df6043c8fab07746dba59de6a Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 15 May 2013 21:32:14 +0000 Subject: [PATCH] Remove useless information from the code coverage --- debian/rules | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index bc6c3c48..f749a442 100755 --- a/debian/rules +++ b/debian/rules @@ -226,9 +226,12 @@ override_dh_auto_test: cd build-llvm/ && $(MAKE) polly-test -C tools/polly/test/ || true if test "$(CODECOVERAGE)" = "yes"; then \ + REPORT=reports/scilab-code-coverage.info; \ mkdir -p reports/; \ - lcov --directory build-llvm/ --capture --ignore-errors source --output-file reports/scilab-code-coverage.info; \ - genhtml -o reports/coverage --show-details --highlight --legend reports/scilab-code-coverage.info; \ + lcov --directory build-llvm/ --capture --ignore-errors source --output-file $$REPORT; \ + lcov --remove $$REPORT "/usr*" -o $$REPORT + lcov --remove $$REPORT "build-llvm/*" -o $$REPORT + genhtml -o reports/coverage --show-details --highlight --legend $$REPORT; \ fi override_dh_gencontrol: