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.python/py-evthreads.exp: fix racy test (PR testsuite/12649)


> 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


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