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