[rfa/testsuite/objc] nondebug.exp: add a kfail and clean-up
Daniel Jacobowitz
drow@mvista.com
Tue Dec 2 16:46:00 GMT 2003
On Fri, Nov 28, 2003 at 11:52:30AM -0500, Michael Chastain wrote:
> I have some problems with the new gdb.objc/nondebug.exp. I was too busy
> to review it before it went in so now it's more work for everybody.
> My apologies to Adam.
>
> The big problem is that gdb HEAD currently prints:
>
> (gdb) break someMethod
> [0] cancel
> [1] all
> >
>
> But there is no pattern for this case. So the test script just hangs
> until the timeout.
>
> I fixed this by adding a pattern and KFAIL'ing it to gdb/1236.
> Indeed, gdb/1236 says that current gdb's will print "cancel/all"
> and that's it.
>
> I also cleaned up some of the other regular expressions:
>
> . replaced ".*" with "\r\n" in some places
> . terminated an r.e. with "$gdb_prompt$ "
> . removed the "timeout" case, because gdb_test_multiple
> already handles timeouts.
>
> Testing: the usual, native i686-pc-linux-gnu, gcc v2 and v3, dwarf-2 and
> stabs+. All configurations hit the new KFAIL.
>
> Okay to commit?
Yes, this is OK. Thank you.
> 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
>
> * gdb.objc/nondebug.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
More information about the Gdb-patches
mailing list