This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb.mi/mi-basics.exp: fix racy tests (PR testsuite/12649)
- From: Marek Polacek <mpolacek at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 12 May 2011 09:14:14 +0200
- Subject: Re: [PATCH] gdb.mi/mi-basics.exp: fix racy tests (PR testsuite/12649)
- References: <4DC42016.5060801@redhat.com> <20110511184053.GA12944@host1.jankratochvil.net>
On 05/11/2011 08:40 PM, Jan Kratochvil wrote:
> It works with:
> global expect_out
>
> mi_gdb_test "-environment-path" "\\\^done,path=\"(.*)\"" "environment-path"
> set orig_path $expect_out(3,string)
Yes, this works and looks much better. Thanks for this!
> OK with that change, sorry for the delay.
No problem at all, checked in:
http://sourceware.org/ml/gdb-cvs/2011-05/msg00079.html
Marek