From: Francis Deslauriers Date: Wed, 9 Oct 2019 16:03:33 +0000 (-0400) Subject: jjb: add babeltrace scan-build configure options X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=fa43a231fd428b7bcfcb4c27801d53eff04fd074;hp=ae3ca8a0e72315a894909240d775887ee2fc83c2;p=lttng-ci.git 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 --- 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" ;;