For review: call-ar-st.exp: don't fail on slow targets
Andrew Cagney
ac131313@cygnus.com
Wed Jun 23 18:26:00 GMT 1999
Stan Shebs wrote:
>
> 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.
FYI, its a re-vamp of Jim Blandy's original idea.
I'll add it to gdb/testsuite/lib/gdb.exp.
Andrew
>
> Stan
>
> + # SENTINAL: Is the terminal pattern indicating that output has finished=
> =2E
>
> "sentinel" not "sentinal"
Thanks.
>
> + while { ${index} >=3D 0 && ${index} < [llength ${list}] } {
>
> What's the "3D" all about?
As Jason pointed out, this is the 90's :-)
More information about the Gdb
mailing list