From aceebfd637a8ef9e78dd854adcf7b9dfd605e456 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 19 Apr 2002 09:40:37 +0000 Subject: [PATCH] (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. --- gas/testsuite/ChangeLog | 7 +++++++ gas/testsuite/gas/all/gas.exp | 12 ++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index c0c368aab7a..8cffe68b17e 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-04-19 Nick Clifton + + * 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 * gas/ppc/altivec.d: Fix dssall test. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 2eb24f5da61..683c7461d23 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 -- 2.30.2