diff options
author | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2023-08-28 12:02:02 -0300 |
---|---|---|
committer | Thiago Jung Bauermann <thiago.bauermann@linaro.org> | 2023-08-28 12:36:20 -0300 |
commit | a028b3e95be4405009175a00f2e5cc9810215e8c (patch) | |
tree | 9440f6e1cf1043b3e45601330786ed4929a0e3a7 | |
parent | d07ef60bc2aff4d465a75767ec4f59725c2268dc (diff) |
tcwg-local.exp: Fix gdb_test_timeout
GDB's default timeout value is 1 minute. Setting it to 5 minutes leads to
very long GDB check jobs.
Change-Id: Ie798eeb12c628a55af24a243245d90601e3b0060
-rw-r--r-- | config/boards/tcwg-local.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/boards/tcwg-local.exp b/config/boards/tcwg-local.exp index fafca88c..f13de904 100644 --- a/config/boards/tcwg-local.exp +++ b/config/boards/tcwg-local.exp @@ -5,11 +5,12 @@ 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 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)] } set_board_info timeout $test_timeout -set gdb_test_timeout $test_timeout # Unfortunatelly, current DejaGNU can't reliably kill timed-out # processes, so wrap them in timeout. |