From d4afd42dbaf0067301b2864770c53f9d7b1042fb Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 4 Jul 2013 10:25:25 +0000 Subject: [PATCH] And more comments to detail the work + disable the test when doing the scan-build report --- debian/rules | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/rules b/debian/rules index 82f9e2c5..540a22f0 100755 --- a/debian/rules +++ b/debian/rules @@ -71,7 +71,12 @@ endif ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS))) # enable the build using scan-build +# The package are installed through the variable declarations: +# OTHERMIRROR="deb http://llvm.org/apt/unstable/ llvm-toolchain main" +# EXTRAPACKAGES="clang-3.4" PRE_CONFIGURE=scan-build +# no need to run tests in this case + DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS nocheck" endif %: @@ -276,6 +281,8 @@ override_dh_auto_test: lcov --remove $$REPORT "/usr*" -o $$REPORT; \ lcov --remove $$REPORT "$(TARGET_BUILD)/*" -o $$REPORT; \ genhtml -o reports/coverage --show-details --highlight --legend $$REPORT; \ +# The compression of the code coverage report is done in the +# hook B21GetCoverageResults on the server fi override_dh_gencontrol: