Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
[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}
252b5132
RH
16if [istarget m68*-*-*] then {
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
28 run_dump_test pcrel
29 run_dump_test operands
30 run_dump_test cas
31 run_dump_test bitfield
32 run_dump_test link
33 run_dump_test fmoveml
34
35 set testname "68000 operands"
36 gas_run "operands.s" "-m68000" "2>err.out"
37 if ![string match "child process exited abnormally" $comp_output] then {
38 send_log "$comp_output\n"
39 verbose "$comp_output" 3
40 fail $testname
41 } else {
42 if [regexp_diff "err.out" "$srcdir/$subdir/op68000.d"] then {
43 fail $testname
44 } else {
45 pass $testname
46 }
47 }
48}
49if [info exists errorInfo] then {
50 unset errorInfo
60bcf0fa 51}
This page took 0.050969 seconds and 4 git commands to generate.