+2001-07-24 H.J. Lu <hjl@gnu.org>
+
+ * binutils-all/windres/windres.exp: Set xfail on none-ix86/pe
+ targets.
+
2001-07-18 DJ Delorie <dj@redhat.com>
* config/default.exp (WINDRES): Add.
return
}
+if {![istarget "i*86-*-*pe*"] \
+ && ![istarget "i*86-*-cygwin*"] \
+ && ![istarget "i*86-*-mingw32*"] } {
+ set target_xfail "yes"
+} else {
+ set target_xfail "no"
+}
+
if {![info exists WINDRES]} then {
return
}
if [file exists "$srcdir/../../winsup/w32api/include"] {
set wr "$wr --include-dir $srcdir/../../winsup/w32api/include"
+ set target_xfail "no"
} else {
send_log "\nWarning: Assuming windres can find the win32 headers\n\n"
}
}
}
+ if { "$broot" != "bmpalign" && "$target_xfail" == "yes" } {
+ setup_xfail *-*
+ }
+
verbose "$wr -I rc -O res $res tmpdir/$broot.res" 1
catch "exec $wr -I rc -O res $res tmpdir/$broot.res" err
continue;
}
+ if { "$target_xfail" == "yes" } {
+ setup_xfail *-*
+ }
+
verbose "$OBJDUMP -b binary -s tmpdir/$broot.res > tmpdir/$broot.dump" 1
catch "exec $OBJDUMP -b binary -s tmpdir/$broot.res > tmpdir/$broot.dump" err