This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/testsuite/ada] Do not abort prematurely the test upon build failure
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 31 Mar 2004 23:02:42 -0500
- Subject: Re: [RFA/testsuite/ada] Do not abort prematurely the test upon build failure
- References: <20040401023006.GL888@gnat.com>
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