Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / mri / mri.exp
1 #
2 # Test the m68k MRI compatibility mode.
3 #
4 # I originally thought that most of tests applied to any MRI
5 # assembler, but it turns out that different MRI assemblers use
6 # different syntaxes.
7 #
8
9 if ![istarget "m68*-*-*"] {
10     return
11 }
12
13 # These tests are generic MRI tests: they don't rely on M68K opcodes.
14 run_dump_test label
15 run_dump_test equ
16 run_dump_test float
17 run_dump_test char
18 run_dump_test expr
19 run_dump_test common
20 run_dump_test comment
21 gas_test "empty.s" "-M" "" "MRI empty macro"
22 run_dump_test semi
23
24 if {[istarget "m6811-*"] || [istarget "m6812-*"] || [istarget "m68hc*-*"]} {
25     return
26 }
27
28 # Next tests contain 68K opcodes
29 run_dump_test constants
30 run_dump_test immconst
31 run_dump_test for
32 run_dump_test if
33 run_dump_test repeat
34 run_dump_test while
35 run_dump_test moveml