From e4c8d1e49f2f83af3ef531c2c9a8315bfe4145b9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 28 Oct 2004 14:58:26 +0000 Subject: [PATCH] 2004-10-28 H.J. Lu * binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes. --- binutils/testsuite/ChangeLog | 4 ++++ binutils/testsuite/binutils-all/dlltool.exp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 8289b23db9e..245d1d007c8 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-10-28 H.J. Lu + + * binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes. + 2004-10-23 Aaron W. LaFramboise * binutils-all/alias.def: New file. diff --git a/binutils/testsuite/binutils-all/dlltool.exp b/binutils/testsuite/binutils-all/dlltool.exp index 3f6cd315d4e..a2cd2f61591 100644 --- a/binutils/testsuite/binutils-all/dlltool.exp +++ b/binutils/testsuite/binutils-all/dlltool.exp @@ -45,6 +45,10 @@ if ![string match "" $err] then { pass "dlltool (fastcall export)" } +if { "$target_xfail" == "yes" } { + setup_xfail *-* +} + verbose "$DLLTOOL -p prefix -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" 1 catch "exec $DLLTOOL -p prefix -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" err -- 2.30.2