This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/testsuite] add test embryo for lang = minimal
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Joel Brobecker <brobecker at gnat dot com>
- Cc: Elena Zannoni <ezannoni at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Mon, 23 Jun 2003 15:55:39 -0400
- Subject: Re: [rfa/testsuite] add test embryo for lang = minimal
- References: <20030522001009.GI1027@gnat.com><16076.55217.140146.243779@localhost.redhat.com><20030523004519.GM923@gnat.com><20030612235955.GA947@gnat.com>
Joel Brobecker writes:
> Ping?
whoops. yes. Branch as well.
elena
>
> On Thu, May 22, 2003 at 05:45:19PM -0700, Joel Brobecker wrote:
> > > Hmmm, it's ok, I wonder if it could be folded into langs.exp? Also,
> > > default.exp, setshow.exp, help.exp have language tests that should
> > > probably be updated including the minimal language.
> >
> > Is the attached better? (merged the minimal.exp test into langs.exp).
> > I will be looking at setshow, default, and help momentarily.
> >
> > 2003-05-22 J. Brobecker <brobecker@gnat.com>
> >
> > * gdb.base/langs.exp: Add some tests for the "minimal" language
> > support
> >
> > --
> > Joel
>
> > Index: langs.exp
> > ===================================================================
> > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/langs.exp,v
> > retrieving revision 1.1.1.2
> > diff -u -r1.1.1.2 langs.exp
> > --- langs.exp 28 Jun 1999 16:03:20 -0000 1.1.1.2
> > +++ langs.exp 23 May 2003 00:41:29 -0000
> > @@ -145,5 +145,20 @@
> > }
> > }
> >
> > +gdb_exit
> > +gdb_start
> > +gdb_reinitialize_dir $srcdir/$subdir
> > +gdb_load $binfile
> > +
> > +# Try exercising the "minimal" language a bit...
> > +
> > +if [runto csub] then {
> > + gdb_test "set lang minimal" \
> > + "Warning: the current language does not match this frame." \
> > + "set lang to minimal"
> > +
> > + gdb_test "print x" " = 5000" "print parameter value"
> > +}
> > +
> > set timeout $oldtimeout
> > return 0
>
>
> --
> Joel