From ca60b3af44a74d2f430870ffbabc8ce158721dc4 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 26 Sep 2018 09:45:56 -0700 Subject: [PATCH] Skip broken assembler test on Windows host. 2018-09-26 Sandra Loosemore gas/ * testsuite/gas/all/gas.exp: Skip "Output file must be distinct from input" test on Windows host. --- gas/ChangeLog | 5 +++++ gas/testsuite/gas/all/gas.exp | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 { -- 2.30.2