X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbinutils-gdb%2Fbuild.sh;h=726cc1a8f2e4feb09759d44f20a864191b4dbe57;hb=adb01414672f605a147e54ad6322b5edf5b5d766;hp=bbeef67a992943bebf4748fe6511f9943c8e213c;hpb=f5dbc8e5deb1352eadbfdb3c1c0b458a3ac5fd96;p=lttng-ci.git 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"