| 1 | # Run some tests of gas macros. |
| 2 | |
| 3 | if { ![istarget hppa*-*-*] || [istarget *-*-linux*] } { |
| 4 | run_dump_test test1 |
| 5 | } |
| 6 | |
| 7 | if ![istarget *c54x*-*-*] { |
| 8 | run_dump_test test2 |
| 9 | } |
| 10 | |
| 11 | run_dump_test test3 |
| 12 | |
| 13 | if ![istarget *c54x*-*-*] { |
| 14 | run_dump_test irp |
| 15 | run_dump_test rept |
| 16 | } |
| 17 | |
| 18 | |
| 19 | gas_test_error "err.s" "" "macro infinite recursion" |
| 20 | |
| 21 | case $target_triplet in { |
| 22 | { hppa*-*-* } { if [istarget *-*-linux*] { run_dump_test semi } } |
| 23 | { *c54x*-*-* } { } |
| 24 | default { |
| 25 | run_dump_test semi |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | if { ![istarget hppa*-*-*] || [istarget *-*-linux*]} { |
| 30 | # FIXME: Due to macro mishandling of ONLY_STANDARD_ESCAPES. |
| 31 | setup_xfail cris-*-* |
| 32 | setup_xfail powerpc-*-aix* |
| 33 | setup_xfail sh*-*-* |
| 34 | setup_xfail z8k*-*-* |
| 35 | setup_xfail h8300*-*-* |
| 36 | # FIXME: Due to difference in what "consecutive octets" means. |
| 37 | setup_xfail *c54x*-*-* |
| 38 | run_dump_test strings |
| 39 | } |