jjb: binutils-gdb: increase testsuite timeout locally
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 25 Apr 2023 18:39:15 +0000 (14:39 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 25 Apr 2023 20:12:03 +0000 (16:12 -0400)
There are many spurious timeouts when running on the CI machines.
Increase the timeout locally using a site.exp file to reduce those.

Change-Id: Ie9740e766826dd94870b2ad8e6ec5433ebc0d93a

scripts/binutils-gdb/build.sh

index eebe0f8b2fb5feae140a72b0bf0d752c8a7f53b1..c7d42c291e6898492c84347df7c7fd0abce3d7ad 100755 (executable)
@@ -297,6 +297,9 @@ esac
 
 # Run tests, don't fail now, we know that "make check" is going to fail,
 # since some tests don't pass.
+$MAKE -C gdb/testsuite site.exp
+# shellcheck disable=SC2016
+echo 'set gdb_test_timeout [expr 5 * $timeout]' >> gdb/testsuite/site.exp
 $MAKE -C gdb --keep-going check -j "$($NPROC)" RUNTESTFLAGS="$RUNTESTFLAGS" FORCE_PARALLEL="1" || true
 
 # Copy the dejagnu test results for archiving before cleaning the build dir
This page took 0.024967 seconds and 4 git commands to generate.