(cofftag): Do not run test for xscale-coff toolchain.
authorNick Clifton <nickc@redhat.com>
Fri, 19 Apr 2002 09:40:37 +0000 (09:40 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Apr 2002 09:40:37 +0000 (09:40 +0000)
(struct, align, incbin): Use case switch so that other targets to be skipped
can be added in the future.

gas/testsuite/ChangeLog
gas/testsuite/gas/all/gas.exp

index c0c368aab7af761f94f0b9e098b9866429fbd655..8cffe68b17e8629e0d26e4723704ff634d854a98 100644 (file)
@@ -1,3 +1,10 @@
+2002-04-19  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * gas/all/gas.exp (cofftag): Do not run test for xscale-coff
+       toolchain.
+       (struct, align, incbin): Use case switch so that other targets to
+       be skipped can be added in the future.
+
 2002-04-17  matthew green  <mrg@redhat.com>
 
        * gas/ppc/altivec.d: Fix dssall test.
index 2eb24f5da61a48d357b1c6abbf09382311dc9458..683c7461d231937db8a2a2fc8ac898276d7220b8 100644 (file)
@@ -115,7 +115,7 @@ case $target_triplet in {
 # We omit the ARM toolchains because they define locals to
 #  start with '.', which eliminates .eos, .text etc from the output.
 # Omit c54x, since .tag and .def mean something different on that target
-if {   ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget *c54x*-*-coff]) \
+if {   ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget xscale-*-coff] && ![istarget *c54x*-*-coff]) \
      ||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget thumb*-*-pe*]) \
      || [istarget a29k-*-udi*] \
      || [istarget a29k-*-ebmon*] \
@@ -156,9 +156,13 @@ proc test_cond {} {
 # not limited to the fact that it depends on specific section
 # names appearing in the output file.
 # again, p2align doesn't work on c54x target
-if { ![istarget *c54x*-*-*] && ![istarget hppa*-*-*] } then {
-    test_cond
-    run_dump_test incbin
+case $target_triplet in {
+    { hppa*-*-* } { }
+    { *c54x*-*-* } { }
+    default {
+        test_cond
+        run_dump_test incbin
+    }
 }
 
 # FIXME: this is here cause of a bug in DejaGnu 1.1.1. When it is no longer
This page took 0.028263 seconds and 4 git commands to generate.