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: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 01 Dec 2009 13:45:56 -0700
- Subject: Re: [patch] testcase: Fix spurious structs.exp FAILs
- References: <20091129135033.GA22994@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> gdb/testsuite/
Jan> 2009-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> Fix spurious false FAILs.
Jan> * gdb.base/structs.c (chartest): New.
Jan> (main): Fill-in chartest.
Jan> * gdb.base/structs.exp (anychar_re, first): New.
Jan> (start_structs_test): Import global anychar_re and first.
Jan> New gdb_test call "set print elements 300; ${testfile}"
Jan> (start_structs_test <$first>): New block.
Jan> (any): Import global anychar_re. New variable ac. Use ${ac}.
Ok.
Tom