aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-08-23 20:10:04 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-08-23 20:10:04 +0000
commit7b4336022e3d311f7a50afbda16fe9e4fc3db8a1 (patch)
tree476a598fc0d14105506267b408e44a1c02363f2a
parent50efebf80c7d2aa34c084bb7f7fe44c506e7c81f (diff)
downloadfsf-binutils-gdb-7b4336022e3d311f7a50afbda16fe9e4fc3db8a1.zip
fsf-binutils-gdb-7b4336022e3d311f7a50afbda16fe9e4fc3db8a1.tar.gz
fsf-binutils-gdb-7b4336022e3d311f7a50afbda16fe9e4fc3db8a1.tar.bz2
* lib/gdb.exp (default_gdb_init): Increase expect buffer size
to 30000 (from 20000).
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp7
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 2239bf1..18b3296 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2007-08-23 Joel Brobecker <brobecker@adacore.com>
+ * lib/gdb.exp (default_gdb_init): Increase expect buffer size
+ to 30000 (from 20000).
+
+2007-08-23 Joel Brobecker <brobecker@adacore.com>
+
Switch the license of all .exp files to GPLv3.
Switch the license of all .f and .f90 files to GPLv3.
Switch the license of all .s and .S files to GPLv3.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 18c2454..bfaf311 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -2085,9 +2085,10 @@ proc default_gdb_init { args } {
# with the appropriate multilib option.
set gdb_wrapper_initialized 0
- # Uh, this is lame. Really, really, really lame. But there's this *one*
- # testcase that will fail in random places if we don't increase this.
- match_max -d 20000
+ # Unlike most tests, we have a small number of tests that generate
+ # a very large amount of output. We therefore increase the expect
+ # buffer size to be able to contain the entire test output.
+ match_max -d 30000
# We want to add the name of the TCL testcase to the PASS/FAIL messages.
if { [llength $args] > 0 } {