add some new tests, and new testing procs
[deliverable/binutils-gdb.git] / gas / testsuite / gas / gas.exp
index 362c66edeff0d9fae15d0e2934030eabb2af924d..bb25e4d85f77b451f6541c013d2bd9bec7a9f706 100644 (file)
@@ -13,31 +13,39 @@ gas_init
 # Target-independent tests
 #
 
-gas_test "$testdir/p2425.s" "pcrel values in assignment"
+gas_test "p2425.s" "" "pcrel values in assignment"
 
-gas_test "-al $testdir/p2425.s" "pcrel values in assignment, with listing"
+gas_test_ignore_stdout "p2425.s" "-al" "pcrel values in assignment, with listing"
 
 #
 # Some m68k-coff tests
 #
 if [istarget m68*-*-coff] then {
-    gas_test "$testdir/p2430.s" "local branch not in text section"
+    gas_test "p2430.s" "" "local branch not in text section"
+    gas_test_ignore_stdout "p2430.s" "-al" "local branch not in text section (with listing)"
 
-    gas_test "$testdir/t1.s" "multiple .file directives"
+    gas_test "t1.s" "" "multiple .file directives"
 
-    gas_test "$testdir/p2389.s" "bss fill"
+    gas_test "p2389.s" "" "bss fill"
+    gas_test_error "p2389a.s" "" "bss fill with non-zero data"
+
+    if [file exists "$testdir/p2411.s"] then {
+       gas_test "p2411.s" "" "PR 2411"
+    }
 }
 
 #
 # Some generic m68k tests
 #
-if [string match m68* $target_cpu] then {
+if [istarget m68*-*-*] then {
     #
     # Operand size dependent on offset computed using operand size
     #
     if [file exists "$testdir/p2425a.s"] then {
-       gas_test "$testdir/p2425a.s" "PR 2425"
+       gas_test "p2425a.s" "" "PR 2425"
     }
+
+    gas_test "t2.s" "" "cross-section branch"
 }
 
 #
@@ -47,6 +55,6 @@ if [string match m68* $target_cpu] then {
 # records.  Verify that we can accept both.
 #
 if [istarget sparc-*-solaris2*] then {
-    gas_test "sol-cc.s" "SPARC Solaris cc -g"
-    gas_test "sol-gcc.s" "SPARC Solaris gcc -g"
+    gas_test "sol-cc.s"  "" "SPARC Solaris cc -g"
+    gas_test "sol-gcc.s" "" "SPARC Solaris gcc -g"
 }
This page took 0.02394 seconds and 4 git commands to generate.