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]

Re: PATCH: Adjust xfail for binutils-all/windres/windres.exp


> Date: Fri, 27 Jul 2001 14:15:34 -0400
> From: DJ Delorie <dj@delorie.com>
> CC: hjl@lucon.org, binutils@sourceware.cygnus.com
> 
> 
> > xfail is not really the right code for tests which are not supported.
> > Such tests should just not be run.
> 
> We can't tell if they should "just not be run" because we don't know
> if the user has installed the win32 headers in gcc's default search
> path or not.

The easy solution is to never run them.  An alternative solution is to
detect the presence of the headers in dejagnu (by trying to compile
something that uses them), and running the tests only if the headers
are detected.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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