aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-19 09:40:37 +0000
committerNick Clifton <nickc@redhat.com>2002-04-19 09:40:37 +0000
commitaceebfd637a8ef9e78dd854adcf7b9dfd605e456 (patch)
tree03fb17b70c30e0762dcda0343a46d310ab6f820e /gas/testsuite
parenta57f9e49f5677be18c2bb0297a600b4373e831a2 (diff)
downloadgdb-aceebfd637a8ef9e78dd854adcf7b9dfd605e456.zip
gdb-aceebfd637a8ef9e78dd854adcf7b9dfd605e456.tar.gz
gdb-aceebfd637a8ef9e78dd854adcf7b9dfd605e456.tar.bz2
(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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/all/gas.exp12
2 files changed, 15 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index c0c368a..8cffe68 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index 2eb24f5..683c746 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -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