mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
* gdb.base/signals.exp (test_handle_all_print): Temporarily increase
timeout by 60 seconds.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
|
* gdb.base/signals.exp (test_handle_all_print): Temporarily increase
|
||||||
|
timeout by 60 seconds.
|
||||||
|
|
||||||
Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
|
Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
* config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
|
* config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
|
||||||
|
@ -301,13 +301,16 @@ gdb_start
|
|||||||
# but I want to test that TARGET_SIGNAL_0, TARGET_SIGNAL_DEFAULT, and
|
# but I want to test that TARGET_SIGNAL_0, TARGET_SIGNAL_DEFAULT, and
|
||||||
# TARGET_SIGNAL_UNKNOWN are skipped.
|
# TARGET_SIGNAL_UNKNOWN are skipped.
|
||||||
proc test_handle_all_print {} {
|
proc test_handle_all_print {} {
|
||||||
|
global timeout
|
||||||
# Increase timeout and expect input buffer for large output from gdb.
|
# Increase timeout and expect input buffer for large output from gdb.
|
||||||
# Allow blank or TAB as whitespace characters.
|
# Allow blank or TAB as whitespace characters.
|
||||||
set timeout 30
|
set oldtimeout $timeout
|
||||||
|
set timeout [expr "$timeout + 60"]
|
||||||
verbose "Timeout is now $timeout seconds" 2
|
verbose "Timeout is now $timeout seconds" 2
|
||||||
match_max 8000
|
match_max 8000
|
||||||
gdb_test "handle all print" "Signal\[ \]+Stop\[ \]+Print\[ \]+Pass to program\[ \]+Description\r\nSIGHUP\[ \]+Yes\[ \]+Yes\[ \]+Yes\[ \]+Hangup.*SIG63\[ \]+Yes\[ \]+Yes\[ \]+Yes\[ \]+Real-time event 63"
|
gdb_test "handle all print" "Signal\[ \]+Stop\[ \]+Print\[ \]+Pass to program\[ \]+Description\r\nSIGHUP\[ \]+Yes\[ \]+Yes\[ \]+Yes\[ \]+Hangup.*SIG63\[ \]+Yes\[ \]+Yes\[ \]+Yes\[ \]+Real-time event 63"
|
||||||
|
set timeout $oldtimeout
|
||||||
|
verbose "Timeout restored to $timeout seconds" 2
|
||||||
}
|
}
|
||||||
test_handle_all_print
|
test_handle_all_print
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user