aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-02-15 19:00:34 +0000
committerFred Fish <fnf@specifix.com>1996-02-15 19:00:34 +0000
commit5c7516eee0beffb52e5796675cad5dfd0bf8f6f9 (patch)
treec628473f4a456aa1dffd2e9c883facf3711e1d3c /gdb/testsuite/config
parentad43e45b46ae929b76c1b49d0487b51eb9a4b7fc (diff)
downloadgdb-5c7516eee0beffb52e5796675cad5dfd0bf8f6f9.zip
gdb-5c7516eee0beffb52e5796675cad5dfd0bf8f6f9.tar.gz
gdb-5c7516eee0beffb52e5796675cad5dfd0bf8f6f9.tar.bz2
* config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
from dejagnu's apparent default of 10 seconds, which gives random results when running the tests over NFS on moderately loaded systems. * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r--gdb/testsuite/config/unix-gdb.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp
index 3d466ce..d8e0528 100644
--- a/gdb/testsuite/config/unix-gdb.exp
+++ b/gdb/testsuite/config/unix-gdb.exp
@@ -19,6 +19,12 @@
# This file was written by Rob Savoye. (rob@cygnus.com)
+# Set a default timeout to be used for the tests under UNIX, rather than
+# accepting whatever default dejagnu gives us (apparently 10 seconds).
+# When running the tests over NFS, under somewhat heavy load, 10 seconds
+# does not seem to be enough. Try starting with 30.
+set timeout 30
+
load_lib gdb.exp
# variables that need to set up