Skip broken assembler test on Windows host.
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 26 Sep 2018 16:45:56 +0000 (09:45 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Wed, 26 Sep 2018 16:45:56 +0000 (09:45 -0700)
2018-09-26  Sandra Loosemore  <sandra@codesourcery.com>

gas/
* testsuite/gas/all/gas.exp: Skip "Output file must be distinct
from input" test on Windows host.

gas/ChangeLog
gas/testsuite/gas/all/gas.exp

index 72857e1..069f9cb 100644 (file)
@@ -1,3 +1,8 @@
+2018-09-26  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * testsuite/gas/all/gas.exp: Skip "Output file must be distinct
+       from input" test on Windows host.
+
 2018-09-21  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/23691
index 5335c89..c1237f9 100644 (file)
@@ -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 {