This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] gdb.mi/mi-nonstop-exit.exp: fix racy test (PR testsuite/12649)


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.


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