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]

Why run the windres test on Linux?


Hi DJ,

Could you please tell me why you want to run the windres test on
Linux :-)? You have

if {![istarget "i*86-*-*"]} {
    return
}

in binutils-all/windres/windres.exp. Does it really work for you? 
Why not limit it to the ix86/pe targets?

Thanks.


H.J.
---
2001-07-24  H.J. Lu  <hjl@gnu.org>

	* binutils-all/windres/windres.exp: Only run on ix86/pe
	targets.

Index: binutils-all/windres/windres.exp
===================================================================
RCS file: /work/cvs/gnu/binutils/binutils/testsuite/binutils-all/windres/windres.exp,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 windres.exp
--- binutils-all/windres/windres.exp	2001/07/23 22:05:25	1.1.1.1
+++ binutils-all/windres/windres.exp	2001/07/24 16:57:12
@@ -19,7 +19,9 @@
 
 # Written by DJ Delorie <dj@redhat.com>
 
-if {![istarget "i*86-*-*"]} {
+if {![istarget "i*86-*-*pe*"] \
+    && ![istarget "i*86-*-cygwin*"] \
+    && ![istarget "i*86-*-mingw32*"] } {
     return
 }
 


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