* gdb.base/signals.exp (test_handle_all_print): Temporarily increase

timeout by 60 seconds.
This commit is contained in:
Fred Fish 1996-06-28 05:28:59 +00:00
parent c137ee9799
commit 5fc34cfdfb
2 changed files with 10 additions and 2 deletions

View file

@ -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>
* config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.

View file

@ -301,13 +301,16 @@ gdb_start
# but I want to test that TARGET_SIGNAL_0, TARGET_SIGNAL_DEFAULT, and
# TARGET_SIGNAL_UNKNOWN are skipped.
proc test_handle_all_print {} {
global timeout
# Increase timeout and expect input buffer for large output from gdb.
# 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
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"
set timeout $oldtimeout
verbose "Timeout restored to $timeout seconds" 2
}
test_handle_all_print