From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32204 invoked by alias); 1 Apr 2004 04:02:40 -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 32197 invoked from network); 1 Apr 2004 04:02:39 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 1 Apr 2004 04:02:39 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B8tPe-0003sg-0v; Wed, 31 Mar 2004 23:02:42 -0500 Date: Thu, 01 Apr 2004 04:02:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite/ada] Do not abort prematurely the test upon build failure Message-ID: <20040401040241.GA14882@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20040401023006.GL888@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040401023006.GL888@gnat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-04/txt/msg00012.txt.bz2 On Wed, Mar 31, 2004 at 06:30:07PM -0800, Joel Brobecker wrote: > So indeed, when gdb_compile_ada fails, I simply abort the test... > A bit too extreme, maybe? :-). > > Anyway, I looked at various tests in the gdb.base and gdb.cp > subdirectory, and found that the common thing to do something > like this: > > gdb_suppress_entire_file "Testcase compile failed, [...]" > > Here is the output (not very pretty, but oh well) I get after using > this procedure, instead of returning prematurely: Unfortunately you didn't pick the best example... please do something like issuing one UNSUPPORTED and then returning. gdb_suppress_entire_file is evil. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer