gas testsuite approch
Hans-Peter Nilsson
hp@bitrange.com
Mon Sep 16 19:51:00 GMT 2002
More information about the Binutils mailing list
Mon Sep 16 19:51:00 GMT 2002
- Previous message (by thread): gas testsuite approch
- Next message (by thread): [PATCH] TLS brown paper bag
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 17 Sep 2002, Alan Modra wrote: > 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! If you mean adding xfailing test-cases for targets that are not designed to pass the test, for the odd case that there'd be a bug that makes the test pass, I can't agree that'd make sense; that's not what xfail is for. (Testing for error is supposed to be done in other ways.) Of course I agree that getting an xpass for an xfailing test you didn't intend to fix should lead to further investigation. In some case the cause for the xpass might be a general rewrite that actually fixed the bug. ;-) brgds, H-P
- Previous message (by thread): gas testsuite approch
- Next message (by thread): [PATCH] TLS brown paper bag
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list