From fa43a231fd428b7bcfcb4c27801d53eff04fd074 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Wed, 9 Oct 2019 12:03:33 -0400 Subject: [PATCH] jjb: add babeltrace scan-build configure options These options prevent a lot of false positive reports, mainly in cases where variable are set only used in assertions or some log levels. Signed-off-by: Francis Deslauriers --- scripts/common/scan-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/common/scan-build.sh b/scripts/common/scan-build.sh index f0819be..3b14ea7 100755 --- a/scripts/common/scan-build.sh +++ b/scripts/common/scan-build.sh @@ -41,6 +41,8 @@ SCAN_BUILD_TMPDIR=$( mktemp -d ) case "$PROJECT_NAME" in babeltrace) export BABELTRACE_DEV_MODE=1 + export BABELTRACE_DEBUG_MODE=1 + export BABELTRACE_MINIMAL_LOG_LEVEL=TRACE CONF_OPTS="--enable-python-bindings --enable-python-bindings-doc --enable-python-plugins" BUILD_TYPE="autotools" ;; -- 2.34.1