jjb: add babeltrace scan-build configure options
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 9 Oct 2019 16:03:33 +0000 (12:03 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 9 Oct 2019 17:26:56 +0000 (13:26 -0400)
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 <francis.deslauriers@efficios.com>
scripts/common/scan-build.sh

index f0819bee5e1e53583274281c761623f3ee131a5b..3b14ea7805f5aa8737f4c5d0d6928871cc25347e 100755 (executable)
@@ -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"
     ;;
This page took 0.02348 seconds and 4 git commands to generate.