MIPS/GAS/testsuite: Convert branch local list tests to dump tests
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 30 Jan 2017 17:10:31 +0000 (17:10 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 30 Jan 2017 17:13:08 +0000 (17:13 +0000)
gas/
* testsuite/gas/mips/branch-local-2.d: New test.
* testsuite/gas/mips/branch-local-3.d: New test.
* testsuite/gas/mips/branch-local-n32-2.d: New test.
* testsuite/gas/mips/branch-local-n32-3.d: New test.
* testsuite/gas/mips/branch-local-n64-2.d: New test.
* testsuite/gas/mips/branch-local-n64-3.d: New test.
* testsuite/gas/mips/mips.exp: Fold corresponding list tests
into the new tests.

gas/ChangeLog
gas/testsuite/gas/mips/branch-local-2.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-local-3.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-local-n32-2.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-local-n32-3.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-local-n64-2.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-local-n64-3.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp

index de3b9b021a99d83236595f418e8da2022435ce24..0f3c73b32ef3ed78e5f1fb2531d4754a2343f24d 100644 (file)
@@ -1,3 +1,14 @@
+2017-01-30  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/branch-local-2.d: New test.
+       * testsuite/gas/mips/branch-local-3.d: New test.
+       * testsuite/gas/mips/branch-local-n32-2.d: New test.
+       * testsuite/gas/mips/branch-local-n32-3.d: New test.
+       * testsuite/gas/mips/branch-local-n64-2.d: New test.
+       * testsuite/gas/mips/branch-local-n64-3.d: New test.
+       * testsuite/gas/mips/mips.exp: Fold corresponding list tests
+       into the new tests.
+
 2017-01-27  Alexis Deruell  <alexis.deruelle@gmail.com>
 
        PR 21056
diff --git a/gas/testsuite/gas/mips/branch-local-2.d b/gas/testsuite/gas/mips/branch-local-2.d
new file mode 100644 (file)
index 0000000..46b58b9
--- /dev/null
@@ -0,0 +1,3 @@
+#name: MIPS branch local symbol relocation 2
+#as: -32
+#error-output: branch-local-2.l
diff --git a/gas/testsuite/gas/mips/branch-local-3.d b/gas/testsuite/gas/mips/branch-local-3.d
new file mode 100644 (file)
index 0000000..f750e33
--- /dev/null
@@ -0,0 +1,3 @@
+#name: MIPS branch local symbol relocation 3
+#as: -32
+#error-output: branch-local-3.l
diff --git a/gas/testsuite/gas/mips/branch-local-n32-2.d b/gas/testsuite/gas/mips/branch-local-n32-2.d
new file mode 100644 (file)
index 0000000..53b76f4
--- /dev/null
@@ -0,0 +1,3 @@
+#name: MIPS branch local symbol relocation 2 (n32)
+#as: -n32 -march=from-abi
+#error-output: branch-local-n32-2.l
diff --git a/gas/testsuite/gas/mips/branch-local-n32-3.d b/gas/testsuite/gas/mips/branch-local-n32-3.d
new file mode 100644 (file)
index 0000000..8ef63ef
--- /dev/null
@@ -0,0 +1,3 @@
+#name: MIPS branch local symbol relocation 3 (n32)
+#as: -n32 -march=from-abi
+#error-output: branch-local-n32-3.l
diff --git a/gas/testsuite/gas/mips/branch-local-n64-2.d b/gas/testsuite/gas/mips/branch-local-n64-2.d
new file mode 100644 (file)
index 0000000..b14b1bd
--- /dev/null
@@ -0,0 +1,3 @@
+#name: MIPS branch local symbol relocation 2 (n64)
+#as: -64 -march=from-abi
+#error-output: branch-local-n64-2.l
diff --git a/gas/testsuite/gas/mips/branch-local-n64-3.d b/gas/testsuite/gas/mips/branch-local-n64-3.d
new file mode 100644 (file)
index 0000000..e12f153
--- /dev/null
@@ -0,0 +1,3 @@
+#name: MIPS branch local symbol relocation 3 (n64)
+#as: -64 -march=from-abi
+#error-output: branch-local-n64-3.l
index 106bd7b6c2c41f320ebb1f496dba060ad5012b40..4580fbf8346bf99af81cee30006a2f66f5e31891 100644 (file)
@@ -625,23 +625,17 @@ if { [istarget mips*-*-vxworks*] } {
     run_dump_test "branch-weak-6"
     run_dump_test "branch-weak-7"
     run_dump_test "branch-local-1"
-    run_list_test "branch-local-2" "-32" \
-                               "MIPS branch local symbol relocation 2"
-    run_list_test "branch-local-3" "-32" \
-                               "MIPS branch local symbol relocation 3"
+    run_dump_test "branch-local-2"
+    run_dump_test "branch-local-3"
     run_dump_test "branch-local-4"
     if $has_newabi {
        run_dump_test "branch-local-n32-1"
-       run_list_test "branch-local-n32-2" "-n32 -march=from-abi" \
-                               "MIPS branch local symbol relocation 2 (n32)"
-       run_list_test "branch-local-n32-3" "-n32 -march=from-abi" \
-                               "MIPS branch local symbol relocation 3 (n32)"
+       run_dump_test "branch-local-n32-2"
+       run_dump_test "branch-local-n32-3"
        run_dump_test "branch-local-n32-4"
        run_dump_test "branch-local-n64-1"
-       run_list_test "branch-local-n64-2" "-64 -march=from-abi" \
-                               "MIPS branch local symbol relocation 2 (n64)"
-       run_list_test "branch-local-n64-3" "-64 -march=from-abi" \
-                               "MIPS branch local symbol relocation 3 (n64)"
+       run_dump_test "branch-local-n64-2"
+       run_dump_test "branch-local-n64-3"
        run_dump_test "branch-local-n64-4"
     }
     run_dump_test "branch-addend"