TIC4X testcase commit
[deliverable/binutils-gdb.git] / gas / testsuite / gas / macros / macros.exp
CommitLineData
252b5132
RH
1# Run some tests of gas macros.
2
81366cb8 3if { ![istarget hppa*-*-*] || [istarget *-*-linux*] } {
252b5132
RH
4 run_dump_test test1
5}
6
48c5eb8a 7if { ![istarget *c54x*-*-*] && ![istarget *c4x*-*-*] } {
39bec121
TW
8 run_dump_test test2
9}
252b5132
RH
10
11run_dump_test test3
12
48c5eb8a 13if { ![istarget *c54x*-*-*] && ![istarget *c4x*-*-*] } {
39bec121
TW
14 run_dump_test irp
15 run_dump_test rept
16}
252b5132 17
252b5132
RH
18
19gas_test_error "err.s" "" "macro infinite recursion"
20
21case $target_triplet in {
81366cb8 22 { hppa*-*-* } { if [istarget *-*-linux*] { run_dump_test semi } }
48c5eb8a 23 { *c4x*-*-* } { }
39bec121 24 { *c54x*-*-* } { }
252b5132
RH
25 default {
26 run_dump_test semi
27 }
28}
aa787a89 29
48c5eb8a 30if { ![istarget hppa*-*-*] || [istarget *-*-linux*] } {
483f05e3 31 # FIXME: Due to macro mishandling of ONLY_STANDARD_ESCAPES.
bcd93207
AM
32 setup_xfail "avr-*" "cris-*"
33
34 # These fail due to NO_STRING_ESCAPES
35 setup_xfail "powerpc*-*-aix*" "powerpc*-*-beos*" "powerpc*-*-macos*"
36 setup_xfail "powerpc*-*-mpw*" "powerpc*-*-pe" "powerpc*-*-*win*"
63ba7a1c 37 setup_xfail "rs6000-*-*"
bcd93207 38
6e917903 39 # FIXME: Due to difference in what "consecutive octets" means.
48c5eb8a 40 setup_xfail "*c4x*-*-*" "*c54x*-*"
81366cb8
AM
41 run_dump_test strings
42}
This page took 0.141623 seconds and 4 git commands to generate.