This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] testcase: Fix spurious structs.exp FAILs
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 21 Dec 2009 09:51:57 +0400
- Subject: Re: [patch] testcase: Fix spurious structs.exp FAILs
- References: <20091129135033.GA22994@host0.dyn.jankratochvil.net>
> gdb/testsuite/
> 2009-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Fix spurious false FAILs.
> * gdb.base/structs.c (chartest): New.
> (main): Fill-in chartest.
> * gdb.base/structs.exp (anychar_re, first): New.
> (start_structs_test): Import global anychar_re and first.
> New gdb_test call "set print elements 300; ${testfile}"
> (start_structs_test <$first>): New block.
> (any): Import global anychar_re. New variable ac. Use ${ac}.
FYI: Checked in the gdb-7.0 branch.
--
Joel