aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/direct.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pe/direct.exp')
-rw-r--r--ld/testsuite/ld-pe/direct.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/ld/testsuite/ld-pe/direct.exp b/ld/testsuite/ld-pe/direct.exp
index 2af2bf7..b4bb629 100644
--- a/ld/testsuite/ld-pe/direct.exp
+++ b/ld/testsuite/ld-pe/direct.exp
@@ -49,9 +49,7 @@
# 7. run the produced executables
# This test can only be run on PE/COFF platforms.
-if { ![istarget *-*-cygwin*]
- && ![istarget *-*-mingw*]
- && ![istarget *-*-pe] } {
+if {![is_pecoff_format]} {
return
}