Run more checks with scan-build

This commit is contained in:
Sylvestre Ledru 2016-04-06 19:10:26 +00:00
parent 69dfe64d86
commit d900de0dda

2
debian/rules vendored
View File

@ -90,7 +90,7 @@ ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
# The package are installed through the variable declarations:
# OTHERMIRROR="deb http://llvm.org/apt/unstable/ llvm-toolchain main"
# EXTRAPACKAGES="clang-3.5"
PRE_PROCESS=scan-build-$(LLVM_VERSION) -analyzer-config stable-report-filename=true
PRE_PROCESS=scan-build-$(LLVM_VERSION) -analyzer-config stable-report-filename=true -enable-checker optin.performance.Padding
PRE_PROCESS_CONF=scan-build-$(LLVM_VERSION)
# no need to run tests in this case
DEB_BUILD_OPTIONS+=" nocheck"