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

Geoff Keating geoffk@geoffk.org
Fri Jul 27 12:12:00 GMT 2001


> 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>



More information about the Binutils mailing list