gas testsuite approch

Alan Modra amodra@bigpond.net.au
Mon Sep 16 19:35:00 GMT 2002


On Mon, Sep 16, 2002 at 04:35:41PM -0400, Hans-Peter Nilsson wrote:
> On Mon, 16 Sep 2002, Svein E. Seldal wrote:
> > But when I look at the existing tests, some target excludes the test
> > entirely, while others uses XFAIL. Take the c30 target as an example. It
> > does not xfail it - it simply skips the test. Which method should I use?
> 
> Wrong choice of words on my part, but the C30 example still
> fits.  Skipping is better than xfail in this case: an xfail is
> supposed to be a known failure and signalling a failure would be
> wrong here.

Hmm, I prefer xfail, simply because an XPASS result alerts you to
something unusual.  In this case, an XPASS would indicate a failure!

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list