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 | 30 | # FIXME: Due to macro mishandling of ONLY_STANDARD_ESCAPES. |
bcd93207 AM |
31 | setup_xfail "avr-*" "cris-*" |
32 | ||
33 | # These fail due to NO_STRING_ESCAPES | |
34 | setup_xfail "powerpc*-*-aix*" "powerpc*-*-beos*" "powerpc*-*-macos*" | |
35 | setup_xfail "powerpc*-*-mpw*" "powerpc*-*-pe" "powerpc*-*-*win*" | |
63ba7a1c | 36 | setup_xfail "rs6000-*-*" |
bcd93207 | 37 | |
6e917903 | 38 | # FIXME: Due to difference in what "consecutive octets" means. |
bcd93207 | 39 | setup_xfail "*c54x*-*" |
81366cb8 AM |
40 | run_dump_test strings |
41 | } |