From: Nick Clifton Date: Wed, 1 Jul 1998 22:36:33 +0000 (+0000) Subject: xfail ARM and Thumb coifftag test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54760676b27c14434092325459a644d25df25fcf;p=binutils-gdb.git xfail ARM and Thumb coifftag test --- diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 45b5c1f9672..c0d66769ba6 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -23,8 +23,6 @@ gas_test "float.s" "" "" "simple FP constants" # This test is meaningless for the PA; the difference of two undefined # symbols is something that is (and must be) supported on the PA. if ![istarget hppa*-*-*] then { - # the h8300 fails because we skip all the logic in fixup_segment - setup_xfail "h8300*-*-*" gas_test_error "diff1.s" "" "difference of two undefined symbols" } @@ -82,21 +80,35 @@ proc do_930509a {} { # This test is meaningless for the PA; the difference of two symbols # must not be resolved by the assembler. if ![istarget hppa*-*-*] then { - # the h8300 fails because we skip all the logic in fixup_segment - setup_xfail "h8300*-*-*" # the vax fails because VMS can apparently actually handle this # case in relocs, so gas doesn't handle it itself. setup_xfail "vax*-*-vms*" + setup_xfail "mn10300*-*-*" + setup_xfail "mn10200*-*-*" do_930509a } -if ![istarget hppa*-*-*] then { - run_dump_test struct +case $target_triplet in { + { hppa*-*-* } { } +# start-sanitize-sky + { dvp-*-* } { + run_dump_test struct + ;# FIXME: all we need to do is change .text to .vutext in align.d. + ;# Instead, align testing is defered to dvp/align.[sd]. + } +# end-sanitize-sky + default { + run_dump_test struct + run_dump_test align + } } # This test is for any COFF target. -if { [istarget *-*-coff*] \ - || [istarget *-*-pe*] \ +# We omit m88k COFF because it uses weird pseudo-op names. +# We omit the ARM toolchains because they define locals to +# start with '.', which eliminates .eos, .text etc from the output. +if { ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget arm*-*-coff] && ![istarget thumb*-*-coff]) \ + ||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget thumb*-*-pe*]) \ || [istarget a29k-*-udi*] \ || [istarget a29k-*-ebmon*] \ || [istarget a29k-*-sym*] \ @@ -111,6 +123,28 @@ if { [istarget *-*-coff*] \ run_dump_test cofftag } +# Test omitting conditionals from listings. +proc test_cond {} { + global comp_output + global srcdir + global subdir + + set testname "conditional listings" + gas_run cond.s -alc ">dump.out" + if ![string match "" $comp_output] { + send_log "$comp_output\n" + fail $testname + } else { + if { [regexp_diff dump.out $srcdir/$subdir/cond.d] } { + fail $testname + } else { + pass $testname + } + } +} + +test_cond + # FIXME: this is here cause of a bug in DejaGnu 1.1.1. When it is no longer # in use, then this can be removed. if [info exists errorInfo] then {