This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] testsuite: gdb.base/setshow.exp fix racy FAILs
On Tue, 30 Jun 2009 20:15:43 +0200, Daniel Jacobowitz wrote:
> On Tue, Jun 30, 2009 at 08:07:53PM +0200, Jan Kratochvil wrote:
> > 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
> >
> > Remove racy FAILs relying just on the timeouts.
> > * gdb.base/setshow.exp (set annotate 2, show annotate (2))
> > (annotation_level 2): Remove racy FAILs.
>
> OK.
Checked-in.
http://sourceware.org/ml/gdb-cvs/2009-06/msg00203.html
Forgot to show the problem before, below now.
Thanks,
Jan
@@ -32121,9 +32088,9 @@ show annotate
Annotation_level is 2.
^Z^Zpre-prompt
-(gdb) FAIL: gdb.base/setshow.exp: show annotate (2)
-
+(gdb)
^Z^Zprompt
+PASS: gdb.base/setshow.exp: show annotate (2)
info line 1
^Z^Zpost-prompt
@@ -32132,9 +32099,9 @@ Line 1 of "../.././gdb/testsuite/gdb.bas
^Z^Zsource /.../gdb/testsuite/gdb.base/setshow.c:1:0:beg:0x4004fc
^Z^Zpre-prompt
-(gdb) FAIL: gdb.base/setshow.exp: annotation_level 2
-
+(gdb)
^Z^Zprompt
+PASS: gdb.base/setshow.exp: annotation_level 2
set annotate 1
^Z^Zpost-prompt