summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/s390/s390.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/s390/s390.exp')
-rw-r--r--gas/testsuite/gas/s390/s390.exp15
1 files changed, 9 insertions, 6 deletions
diff --git a/gas/testsuite/gas/s390/s390.exp b/gas/testsuite/gas/s390/s390.exp
index 4820013d0c..fae071c2f5 100644
--- a/gas/testsuite/gas/s390/s390.exp
+++ b/gas/testsuite/gas/s390/s390.exp
@@ -4,12 +4,15 @@
if [expr [istarget "s390-*-*"] || [istarget "s390x-*-*"]] then {
- run_dump_test "esa-g5" "{as -m31}"
- run_dump_test "esa-z900" "{as -m31} {as -march=z900}"
- run_dump_test "esa-z990" "{as -m31} {as -march=z990}"
- run_dump_test "esa-z9-109" "{as -m31} {as -march=z9-109}"
- run_dump_test "esa-reloc" "{as -m31}"
- run_dump_test "esa-operands" "{as -m31}"
+ # s390x-ibm-tpf target does not support a 32-bit target.
+ if { ! [istarget "s390x-*-tpf*"] } then {
+ run_dump_test "esa-g5" "{as -m31}"
+ run_dump_test "esa-z900" "{as -m31} {as -march=z900}"
+ run_dump_test "esa-z990" "{as -m31} {as -march=z990}"
+ run_dump_test "esa-z9-109" "{as -m31} {as -march=z9-109}"
+ run_dump_test "esa-reloc" "{as -m31}"
+ run_dump_test "esa-operands" "{as -m31}"
+ }
# # PIC is only supported on ELF targets.
# if { ([istarget "*-*-elf*"] || [istarget "*-*-linux*"] ) } then {