* rclex.l: Allow underscores at the start of identifiers.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / m68k / all.exp
CommitLineData
252b5132
RH
1#
2# Some generic m68k tests
3#
60bcf0fa
NC
4if [istarget "m68hc11-*-*"] then {
5 return
6}
7if [istarget "m68hc12-*-*"] then {
8 return
9}
10if [istarget "m6811-*-*"] then {
11 return
12}
13if [istarget "m6812-*-*"] then {
14 return
15}
9ab8ee21 16if { [istarget m68*-*-*] || [istarget fido*-*-*] } then {
252b5132
RH
17 gas_test "t2.s" "" "" "cross-section branch"
18 if [istarget m68*-motorola-sysv] then {
19 run_dump_test t2
20 }
21
22 gas_test "pic1.s" "" "" "PIC generation"
23
24 gas_test "disperr.s" "-m68020" "" "Incorrect Displacement too long error"
25
26 gas_test_error "p2410.s" "" "out-of-range 'bras'"
27
4fa0e86f
AM
28 # Reloc types etc. need changing for aout and coff to pass.
29 setup_xfail "*-*"
30 clear_xfail "*-*-*elf*" "*-*-sysv4*" "*-*-rtems" "*-*-*gnu*" "*-*-psos*"
252b5132 31 run_dump_test pcrel
9ab8ee21
KH
32
33 # Since fido is basically CPU32, it does not support those
34 # instructions beyond CPU32. Disable those tests that test them.
35 if ![istarget fido-*-*] then {
36 run_dump_test operands
37 run_dump_test cas
38 run_dump_test bitfield
39 } else {
40 # Test fido-specific instructions.
41 run_dump_test fido
42 }
43
252b5132
RH
44 run_dump_test link
45 run_dump_test fmoveml
68eb2996 46 run_dump_test mcf-mov3q
580b9172 47 run_dump_test mode5
fd99574b
NC
48 run_dump_test mcf-mac
49 run_dump_test mcf-emac
c2fe9327 50 run_dump_test mcf-fpu
869ddf2a 51 run_dump_test mcf-trap
266abb8f 52 run_dump_test arch-cpu-1
baee4c9e 53 run_dump_test cpu32
252b5132
RH
54
55 set testname "68000 operands"
56 gas_run "operands.s" "-m68000" "2>err.out"
57 if ![string match "child process exited abnormally" $comp_output] then {
58 send_log "$comp_output\n"
59 verbose "$comp_output" 3
60 fail $testname
61 } else {
62 if [regexp_diff "err.out" "$srcdir/$subdir/op68000.d"] then {
63 fail $testname
64 } else {
65 pass $testname
66 }
67 }
68}
69if [info exists errorInfo] then {
70 unset errorInfo
60bcf0fa 71}
This page took 0.453051 seconds and 4 git commands to generate.