aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>2023-09-04 20:29:47 -0300
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>2023-09-05 00:41:25 -0300
commiteb2b68661febe92ee520e19150379347d0fc67af (patch)
tree93bf0ea6620a178e3224ae595e32733eb9e8cbb3 /config
parenta028b3e95be4405009175a00f2e5cc9810215e8c (diff)
tcwg-local.exp: Fix gdb_test_timeout, again
The default timeout value in the GDB testsuite is supposed to be 1 min (see gdb/testsuite/config/unix.exp), but is actually 10 seconds because the code in lib/gdb.exp which sets 'gdb_test_timeout' from DejaGNU's 'timeout' variable doesn't actually run. Change-Id: I86c38239d79f7dadb5ee5e8077a74108b814e3b8
Diffstat (limited to 'config')
-rw-r--r--config/boards/tcwg-local.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/boards/tcwg-local.exp b/config/boards/tcwg-local.exp
index f13de904..39e81ff7 100644
--- a/config/boards/tcwg-local.exp
+++ b/config/boards/tcwg-local.exp
@@ -5,7 +5,9 @@ set_board_info gcc,timeout 600
# Execution timeout 5min.
# DJ seems to ignore these and uses default timeout of 300.
set test_timeout 300
-set gdb_test_timeout 60
+# GDB uses 10s as its default timeout. Unfortunately anything longer causes 5h
+# testsuite runs in 32-bit ARM.
+set gdb_test_timeout 10
if {[info exists env(TIMEOUTFACTOR)] && ![string equal $env(TIMEOUTFACTOR) ""]} {
set test_timeout [expr $test_timeout * $env(TIMEOUTFACTOR)]
set gdb_test_timeout [expr $gdb_test_timeout * $env(TIMEOUTFACTOR)]