jjb: binutils-gdb: disable ASan leaks reporting during "make check"
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 8 Oct 2021 20:08:12 +0000 (16:08 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 8 Oct 2021 20:08:12 +0000 (16:08 -0400)
scripts/binutils-gdb/build.sh

index bbeef67a992943bebf4748fe6511f9943c8e213c..726cc1a8f2e4feb09759d44f20a864191b4dbe57 100755 (executable)
@@ -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"
This page took 0.02362 seconds and 4 git commands to generate.