x86_64-cygwin tests
authorAlan Modra <amodra@gmail.com>
Mon, 13 Jul 2020 10:27:28 +0000 (19:57 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 13 Jul 2020 12:33:59 +0000 (22:03 +0930)
commit7a34d0ea4ddd5ff205637fbad5faf2e977921720
tree9d1b12b177bba1e5536986239f8f795f8ef0e2b8
parent8884c29c0f5df9f2ef201f1bc4ba574e7468eb4f
x86_64-cygwin tests

Tests just having "xfail: x86_64-*-cygwin" aren't good, since
presumably if a test fails on x86_64-cygwin then it also fails on
x86_64-*-pe* and x86_64-*-mingw*.

binutils/
* testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
optional machine-os arg.
ld/
* testsuite/ld-scripts/default-script1.d: Don't skip, xfail
using is_pecoff_format.
* testsuite/ld-scripts/default-script2.d: Likewise.
* testsuite/ld-scripts/default-script3.d: Likewise.
* testsuite/ld-scripts/default-script4.d: Likewise.
* testsuite/ld-scripts/pr20302.d: Remove x86_64-*-cygwin from notarget.
* testsuite/ld-scripts/provide-6.d: Remove x86_64-*-cygwin from xfail.
* testsuite/ld-scripts/provide-8.d: Likewise.
binutils/ChangeLog
binutils/testsuite/lib/binutils-common.exp
ld/ChangeLog
ld/testsuite/ld-scripts/default-script1.d
ld/testsuite/ld-scripts/default-script2.d
ld/testsuite/ld-scripts/default-script3.d
ld/testsuite/ld-scripts/default-script4.d
ld/testsuite/ld-scripts/pr20302.d
ld/testsuite/ld-scripts/provide-6.d
ld/testsuite/ld-scripts/provide-8.d