summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2018-09-26 09:45:56 -0700
committerSandra Loosemore <sandra@codesourcery.com>2018-09-26 09:45:56 -0700
commitca60b3af44a74d2f430870ffbabc8ce158721dc4 (patch)
tree40143cf88d534444f5537ec50549068796604867
parentd354055e6ee0b2640006e1b9f900eb0e91a6883c (diff)
downloadbinutils-gdb-ca60b3af44a74d2f430870ffbabc8ce158721dc4.tar.gz
Skip broken assembler test on Windows host.
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.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/all/gas.exp6
2 files changed, 10 insertions, 1 deletions
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 <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
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 {