For review: call-ar-st.exp: don't fail on slow targets
Stan Shebs
shebs@cygnus.com
Wed Jun 23 12:14:00 GMT 1999
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?
More information about the Gdb
mailing list