This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb.mi/mi-nonstop-exit.exp: fix racy test (PR testsuite/12649)
- From: Marek Polacek <mpolacek at redhat dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 19 May 2011 11:00:12 +0200
- Subject: Re: [PATCH] gdb.mi/mi-nonstop-exit.exp: fix racy test (PR testsuite/12649)
- References: <4DD2C086.80108@redhat.com>
On 05/17/2011 08:37 PM, Marek Polacek wrote:
> I've changed the gdb_test_multiple to ugly send_gdb+gdb_expect, since
> we must not use the gdb_test_multiple (see PR 12647). Here, I think,
> it is not possible to use the mi_gdb_test, because mi_gdb_test either PASSes,
> or FAILs, but in the `-gdb-show non-stop' test, we have to use the
> `$expect_out' and possibly set the `supported' variable iff in the gdb output
> is "supported=*".
The exactly same testcase is also in the mi-nonstop.exp.
> 2011-05-17 Marek Polacek <mpolacek@redhat.com>
>
> * gdb.mi/i-nonstop-exit.exp: Use the send_gdb+gdb_expect instead of
^ missing `m', fixed.