This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: For review: call-ar-st.exp: don't fail on slow targets


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 :-)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]