* binutils-all/dlltool.exp: Add setup_xfail.
authorAlan Modra <amodra@gmail.com>
Tue, 14 Feb 2012 02:40:39 +0000 (02:40 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 14 Feb 2012 02:40:39 +0000 (02:40 +0000)
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/dlltool.exp

index 9e200f0..bab9f7d 100644 (file)
@@ -1,5 +1,7 @@
 2012-02-14  Alan Modra  <amodra@gmail.com>
 
+       * binutils-all/dlltool.exp: Add setup_xfail.
+
        * binutils-all/dw2-decodedline.S: Always have whitespace before
        directives.
        * binutils-all/version.s: Likewise.
index 1493e6e..1409d3c 100644 (file)
@@ -64,6 +64,10 @@ if ![string match "" $err] then {
     pass "dlltool (version.dll)"
 }
 
+if { "$target_xfail" == "yes" } {
+    setup_xfail *-*
+}
+
 verbose "$DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" 1
 catch "exec $DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" err