PATCH: Skip the test if the cross binary fails to run.

Ian Lance Taylor ian@airs.com
Tue Oct 1 11:35:00 GMT 2002


Geoff Keating <geoffk@geoffk.org> writes:

> > Date: Mon, 30 Sep 2002 16:34:29 -0700
> > From: "H. J. Lu" <hjl@lucon.org>
> 
> > Because it depends on if I have the cross compiler installed or
> > not. Why should it become an ERROR just because I have the cross
> > compiler?
> 
> It should be an ERROR if you don't have a cross compiler, too, since
> then the test can't work at all.  Certainly, if you have no compiler
> at all, it's important that the testsuite complains very loudly.

In my opinion, if you don't have a cross-compiler, it should be
UNTESTED.

The absence of a cross-compiler does not in any way indicate a problem
with either the tool or the testsuite.  It indicates a test which can
not be run, and that is what UNTESTED means.

Ian



More information about the Binutils mailing list