From d05689409fa65cb9c3850117afa4169c79c037d2 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 25 Apr 2023 14:39:15 -0400 Subject: [PATCH] jjb: binutils-gdb: increase testsuite timeout locally 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/binutils-gdb/build.sh b/scripts/binutils-gdb/build.sh index eebe0f8..c7d42c2 100755 --- a/scripts/binutils-gdb/build.sh +++ b/scripts/binutils-gdb/build.sh @@ -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 -- 2.34.1