This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: For review: call-ar-st.exp: don't fail on slow targets
- To: cagney@cygnus.com
- Subject: Re: For review: call-ar-st.exp: don't fail on slow targets
- From: Stan Shebs <shebs@cygnus.com>
- Date: Wed, 23 Jun 1999 12:14:03 -0700
- CC: gdb@sourceware.cygnus.com
Date: Wed, 23 Jun 1999 20:56:52 +1000
From: Andrew Cagney <ac131313@cygnus.com>
The attached patch tries to fix a number of bogus failures when the
testsuite is being run on a very slow target (such as a simulator).
Instead of trying to match the output using a single pattern, it matches
the output incrementally.
This is a good idea! I was talking with HP folk about adding some sort
of special test procedure for large and complicated output, and here
you've actually implemented something... The procedure itself should go
in lib/gdb.exp, so that other files can use it too.
Stan
+ # SENTINAL: Is the terminal pattern indicating that output has finished=
=2E
"sentinel" not "sentinal"
+ while { ${index} >=3D 0 && ${index} < [llength ${list}] } {
What's the "3D" all about?