From: Simon Marchi Date: Fri, 8 Oct 2021 20:08:12 +0000 (-0400) Subject: jjb: binutils-gdb: disable ASan leaks reporting during "make check" X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=adb01414672f605a147e54ad6322b5edf5b5d766;p=lttng-ci.git jjb: binutils-gdb: disable ASan leaks reporting during "make check" --- diff --git a/scripts/binutils-gdb/build.sh b/scripts/binutils-gdb/build.sh index bbeef67..726cc1a 100755 --- a/scripts/binutils-gdb/build.sh +++ b/scripts/binutils-gdb/build.sh @@ -211,8 +211,11 @@ $MAKE -j "$($NPROC)" V=1 MAKEINFO=/bin/true $MAKE install DESTDIR="$WORKSPACE" # Run tests, don't fail now, we want to run the archiving steps +# +# Disable ASan leaks reporting, it might break some tests since it adds +# unexpected output when GDB exits. failed_tests=0 -$MAKE -C gdb --keep-going check -j "$($NPROC)" || failed_tests=1 +ASAN_OPTIONS=detect_leaks=0 $MAKE -C gdb --keep-going check -j "$($NPROC)" || failed_tests=1 # Copy the dejagnu test results for archiving before cleaning the build dir mkdir "${WORKSPACE}/results"