From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28399 invoked by alias); 13 Jun 2003 00:00:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28392 invoked from network); 13 Jun 2003 00:00:11 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 13 Jun 2003 00:00:11 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 1C279D2DAF; Thu, 12 Jun 2003 16:59:55 -0700 (PDT) Date: Fri, 13 Jun 2003 00:00:00 -0000 From: Joel Brobecker To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa/testsuite] add test embryo for lang = minimal Message-ID: <20030612235955.GA947@gnat.com> References: <20030522001009.GI1027@gnat.com> <16076.55217.140146.243779@localhost.redhat.com> <20030523004519.GM923@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030523004519.GM923@gnat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-06/txt/msg00440.txt.bz2 Ping? 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 > > * 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