This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: PATCH: Skip the test if the cross binary fails to run.


On Mon, Sep 30, 2002 at 09:36:44PM -0700, Ian Lance Taylor wrote:
> Geoff Keating <geoffk@geoffk.org> writes:
> 
> > To run the test, you need hardware or simulator.  If you don't have
> > hardware or simulator, the test can't be run.  If the test is not run,
> > then objcopy hasn't been fully tested, and it's important to know
> > that.
> > 
> > Why do you think that ERROR is wrong?  Doesn't it accurately describe
> > what happened to this test?
> 
> This sort of case is what UNTESTED is for.  It means that a test could
> not be run for some reason which does not indicate a problem in the
> tool being tested.
> 

With my patch, I got

                === binutils Summary ===

# of expected passes            27
# of expected failures          1
# of untested testcases         4

on a machine with a working cross compiler, but no hardware/simulator.
My patch is trying to detect it. Someone may test my patch on machines
with a working cross compiler and hardware/simulator.


H.J.


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