This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

Re: [rfc/testsuite/objc] objcdecode.exp: fix and clean up


On Fri, Nov 28, 2003 at 12:30:04PM -0500, Michael Chastain wrote:
> This is a similar fix-and-cleanup patch for gdb.objc/objcdecode.exp.
> 
> Again, this cleans up the regular expressions and adds an explicit
> test for the output that I'm currently getting from gdb HEAD.
> 
> The big problem here was:
> 
>   -re "\\\[0\\\] cancel.*\\\[1\\\] all.*\\\[2\\\] -.Decode multipleDef. at .*\\\[3\\\] multipleDef at .*"
> 
> Because this ends in a ".*" instead of an anchor character,
> "expect" will consume a non-deterministic amount of input.
> This causes non-deterministic de-synchronized results for the
> next test.
> 
> Testing: native i686-pc-linux-gnu, gcc v2 and v3, dwarf-2 and stabs+.
> 
> Okay to commit?

This is OK also.  Thanks for cleaning these up.

> 2003-11-28  Michael Chastain  <mec.gnu@mindspring.com>
> 
> 	* gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
> 	from current versions of gdb.  Clean up regular expressions.
> 	Delete redundant timeout case.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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