* gas/lns/lns.exp (lns-common-1): Don't run on targets without
authorAlan Modra <amodra@gmail.com>
Wed, 21 Sep 2005 06:55:49 +0000 (06:55 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 21 Sep 2005 06:55:49 +0000 (06:55 +0000)
a bare nop insn.

gas/testsuite/ChangeLog
gas/testsuite/gas/lns/lns.exp

index f2d24b0..6e82c82 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * gas/lns/lns.exp (lns-common-1): Don't run on targets without
+       a bare nop insn.
+
 2005-09-20  Richard Henderson  <rth@redhat.com>
 
        * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
index 784f9a3..1bc9599 100644 (file)
@@ -18,9 +18,10 @@ if ![is_elf_format] then {
 
 run_list_test "lns-diag-1" ""
 
-# ??? Won't work on targets that don't have a bare "nop" insn,
-# which is only ia64, afaik.  Perhaps we could arrange for an
-# include file or something that defined a macro...
-if ![istarget ia64*-*-*] {
+# ??? Won't work on targets that don't have a bare "nop" insn.
+# Perhaps we could arrange for an include file or something that
+# defined a macro...
+if { ![istarget ia64*-*-*] && ![istarget i370-*-*] && ![istarget i960-*-*]
+     && ![istarget or32-*-*] && ![istarget s390*-*-*] } {
   run_dump_test "lns-common-1"
 }