https://gcc.gnu.org/g:ac42d5541d9d4c72b9f364a73cb4a6bd7251b13e
commit r17-3955-gac42d5541d9d4c72b9f364a73cb4a6bd7251b13e Author: Iain Sandoe <[email protected]> Date: Sat Aug 22 13:08:06 2026 +0100 testsuite, algol68: Add support for dg-timeout-factor and use it for whole-1.a68. Whole-1.a68 fails on some test platforms (in some cases reliably, in some cases sporadically, depending on load). It is close to the 20s limit set by the algol68 driver. This adds the capability to use dg-timeout-factor and uses it to double the allowed time for this test. gcc/testsuite/ChangeLog: * algol68/execute/whole-1.a68: Allow 2x timeout. * lib/algol68.exp: Add support for dg-timeout-factor. Signed-off-by: Iain Sandoe <[email protected]> Diff: --- gcc/testsuite/algol68/execute/whole-1.a68 | 2 ++ gcc/testsuite/lib/algol68.exp | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/testsuite/algol68/execute/whole-1.a68 b/gcc/testsuite/algol68/execute/whole-1.a68 index ad349776549c..8ecb0a01dea2 100644 --- a/gcc/testsuite/algol68/execute/whole-1.a68 +++ b/gcc/testsuite/algol68/execute/whole-1.a68 @@ -1,3 +1,5 @@ +{ This test takes more than 20s on several platforms. } +{ dg-timeout-factor 2 } begin { RR standard proc whole replaced; test it } diff --git a/gcc/testsuite/lib/algol68.exp b/gcc/testsuite/lib/algol68.exp index 9953fe27794c..e9021a096260 100644 --- a/gcc/testsuite/lib/algol68.exp +++ b/gcc/testsuite/lib/algol68.exp @@ -21,6 +21,7 @@ load_lib prune.exp load_lib gcc-defs.exp load_lib timeout.exp +load_lib timeout-dg.exp load_lib target-libpath.exp #
