From: Nick Clifton Date: Fri, 19 Apr 2002 09:40:37 +0000 (+0000) Subject: (cofftag): Do not run test for xscale-coff toolchain. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aceebfd637a8ef9e78dd854adcf7b9dfd605e456;p=binutils-gdb.git (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. --- 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