Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # Run some tests of gas macros. |
2 | ||
81366cb8 | 3 | if { ![istarget hppa*-*-*] || [istarget *-*-linux*] } { |
252b5132 RH |
4 | run_dump_test test1 |
5 | } | |
6 | ||
39bec121 TW |
7 | if ![istarget *c54x*-*-*] { |
8 | run_dump_test test2 | |
9 | } | |
252b5132 RH |
10 | |
11 | run_dump_test test3 | |
12 | ||
39bec121 TW |
13 | if ![istarget *c54x*-*-*] { |
14 | run_dump_test irp | |
15 | run_dump_test rept | |
16 | } | |
252b5132 | 17 | |
252b5132 RH |
18 | |
19 | gas_test_error "err.s" "" "macro infinite recursion" | |
20 | ||
21 | case $target_triplet in { | |
81366cb8 | 22 | { hppa*-*-* } { if [istarget *-*-linux*] { run_dump_test semi } } |
39bec121 | 23 | { *c54x*-*-* } { } |
252b5132 RH |
24 | default { |
25 | run_dump_test semi | |
26 | } | |
27 | } | |
aa787a89 | 28 | |
e88b7c97 | 29 | if { ![istarget hppa*-*-*] || [istarget *-*-linux*]} { |
483f05e3 HPN |
30 | # FIXME: Due to macro mishandling of ONLY_STANDARD_ESCAPES. |
31 | setup_xfail cris-*-* | |
e88b7c97 | 32 | setup_xfail powerpc-*-aix* |
935e6103 | 33 | setup_xfail sh*-*-* |
879db8be | 34 | setup_xfail z8k*-*-* |
81366cb8 AM |
35 | run_dump_test strings |
36 | } |