aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-06-28 05:28:59 +0000
committerFred Fish <fnf@specifix.com>1996-06-28 05:28:59 +0000
commit5fc34cfdfb442044106fa95f5f3ffe421a111340 (patch)
treef53d7e3b91a3071ffc150ae701626d7fe98e6f35 /gdb/testsuite
parentc137ee9799c4127a0885306ac96a509753e665f8 (diff)
downloadgdb-5fc34cfdfb442044106fa95f5f3ffe421a111340.zip
gdb-5fc34cfdfb442044106fa95f5f3ffe421a111340.tar.gz
gdb-5fc34cfdfb442044106fa95f5f3ffe421a111340.tar.bz2
* gdb.base/signals.exp (test_handle_all_print): Temporarily increase
timeout by 60 seconds.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/signals.exp7
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c7431f5..c113f04 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp
index d48fac9..28977c7 100644
--- a/gdb/testsuite/gdb.base/signals.exp
+++ b/gdb/testsuite/gdb.base/signals.exp
@@ -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