From: Simon Marchi Date: Tue, 25 Apr 2023 18:39:15 +0000 (-0400) Subject: jjb: binutils-gdb: increase testsuite timeout locally X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d05689409fa65cb9c3850117afa4169c79c037d2;p=lttng-ci.git 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 --- 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