* gdb.base/signals.exp (test_handle_all_print): Temporarily increase
authorFred Fish <fnf@specifix.com>
Fri, 28 Jun 1996 05:28:59 +0000 (05:28 +0000)
committerFred Fish <fnf@specifix.com>
Fri, 28 Jun 1996 05:28:59 +0000 (05:28 +0000)
timeout by 60 seconds.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/signals.exp

index c7431f58e0893a75ed0640126b8a7b1f9267f72f..c113f04b6f45416d57a125a6dd43356bee9d49e3 100644 (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.
index d48fac928ac327d69fe51d07cf9f631364d4669c..28977c7cf032a30cec94915292110abdd73f06a8 100644 (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