diff --git a/gas/ChangeLog b/gas/ChangeLog index 72857e16046..069f9cbf744 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2018-09-26 Sandra Loosemore + + * testsuite/gas/all/gas.exp: Skip "Output file must be distinct + from input" test on Windows host. + 2018-09-21 H.J. Lu PR gas/23691 diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 5335c896fec..c1237f9054e 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -73,7 +73,11 @@ if { ![istarget alpha*-*-*vms*] gas_test_error "equiv1.s" "" ".equiv for symbol already set to another one" gas_test_error "equiv2.s" "" ".equiv for symbol already set to an expression" -gas_test_error "none.s" "-o $srcdir/$subdir/none.s" "Output file must be distinct from input" +# The inode comparison used to detect identical input and output files +# doesn't work on non-Posix hosts. +if { ![ishost "*-*-mingw*"] } then { + gas_test_error "none.s" "-o $srcdir/$subdir/none.s" "Output file must be distinct from input" +} # .equ works differently on some targets. case $target_triplet in {