This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/testsuite/ada] Do not abort prematurely the test upon build failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]