This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb.python/py-evthreads.exp: fix racy test (PR testsuite/12649)
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Marek Polacek <mpolacek at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 28 Jun 2011 08:51:07 -0700
- Subject: Re: [PATCH] gdb.python/py-evthreads.exp: fix racy test (PR testsuite/12649)
- References: <4E09E2C1.2020909@redhat.com>
> 2011-06-28 Marek Polacek <mpolacek@redhat.com>
>
> * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
> the whole output.
This is an area where I'm not entirely sure, but we usually use
`$gdb_prompt $' as the anchor.
I'm also surprised to see some uses of gdb_expect in gdb.python.
I wonder if we could replace them with uses of gdb_test_multiple
(that would be a separate patch)...
--
Joel