This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/testsuite/objc] nondebug.exp: add a kfail and clean-up
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>
- Cc: fedor at gnu dot org, gdb-patches at sources dot redhat dot com
- Date: Tue, 2 Dec 2003 11:46:37 -0500
- Subject: Re: [rfa/testsuite/objc] nondebug.exp: add a kfail and clean-up
- References: <20031128165230.E10704B363@berman.michael-chastain.com>
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