Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
[deliverable/binutils-gdb.git] / gas / testsuite / gas / m68k / all.exp
index f5de21330beb70584673e25f183c79eced4afb6d..d5261708be549f6d940d1e399ce15397d140267a 100644 (file)
@@ -1,26 +1,36 @@
 #
 # Some generic m68k tests
 #
+if [istarget "m68hc11-*-*"] then {
+   return
+}
+if [istarget "m68hc12-*-*"] then {
+   return
+}
+if [istarget "m6811-*-*"] then {
+   return
+}
+if [istarget "m6812-*-*"] then {
+   return
+}
 if [istarget m68*-*-*] then {
     gas_test "t2.s" "" "" "cross-section branch"
+    if [istarget m68*-motorola-sysv] then {
+       run_dump_test t2
+    }
 
     gas_test "pic1.s" "" "" "PIC generation"
 
-    gas_test "disperr.s" "" "" "Incorrect Displacement too long error"
+    gas_test "disperr.s" "-m68020" "" "Incorrect Displacement too long error"
 
     gas_test_error "p2410.s" "" "out-of-range 'bras'"
 
-    if [expr [istarget m68*-*-hpux*] || [istarget m68*-*-sun*] \
-               || [istarget m68*-*-*aout*] \
-               || [istarget m68*-*-coff*] \
-               || [istarget m68*-*-vxworks5.1] \
-               ] then {
-       run_dump_test "schwab"
-    }
-
+    run_dump_test pcrel
     run_dump_test operands
     run_dump_test cas
     run_dump_test bitfield
+    run_dump_test link
+    run_dump_test fmoveml
 
     set testname "68000 operands"
     gas_run "operands.s" "-m68000" "2>err.out"
@@ -29,7 +39,7 @@ if [istarget m68*-*-*] then {
        verbose "$comp_output" 3
        fail $testname
     } else {
-       if [regexp_diff "err.out" "$srcdir$subdir/op68000.d"] then {
+       if [regexp_diff "err.out" "$srcdir/$subdir/op68000.d"] then {
            fail $testname
        } else {
            pass $testname
@@ -38,4 +48,4 @@ if [istarget m68*-*-*] then {
 }
 if [info exists errorInfo] then {
     unset errorInfo
-    }
+}
This page took 0.031424 seconds and 4 git commands to generate.