MIPS/GAS/testsuite: Deduplicate error lists of branch local tests
authorMaciej W. Rozycki <macro@imgtec.com>
Wed, 30 Aug 2017 11:20:53 +0000 (12:20 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Wed, 30 Aug 2017 11:20:53 +0000 (12:20 +0100)
Complement commit 7795a8f8bdde ("MIPS/GAS/testsuite: Convert branch
local list tests to dump tests") and share identical error lists among
branch local tests, removing duplicate copies.

gas/
* testsuite/gas/mips/branch-local-n32-2.d: Use `branch-local-2.l'
for `error-output'.
* testsuite/gas/mips/branch-local-n64-2.d: Likewise.
* testsuite/gas/mips/branch-local-n32-3.d: Use `branch-local-3.l'
for `error-output'.
* testsuite/gas/mips/branch-local-n64-3.d: Likewise.
* testsuite/gas/mips/branch-local-n32-2.l: Remove file.
* testsuite/gas/mips/branch-local-n64-2.l: Remove file.
* testsuite/gas/mips/branch-local-n32-3.l: Remove file.
* testsuite/gas/mips/branch-local-n64-3.l: Remove file.

gas/ChangeLog
gas/testsuite/gas/mips/branch-local-n32-2.d
gas/testsuite/gas/mips/branch-local-n32-2.l [deleted file]
gas/testsuite/gas/mips/branch-local-n32-3.d
gas/testsuite/gas/mips/branch-local-n32-3.l [deleted file]
gas/testsuite/gas/mips/branch-local-n64-2.d
gas/testsuite/gas/mips/branch-local-n64-2.l [deleted file]
gas/testsuite/gas/mips/branch-local-n64-3.d
gas/testsuite/gas/mips/branch-local-n64-3.l [deleted file]

index 3e250d3..2e60e29 100644 (file)
@@ -1,3 +1,16 @@
+2017-08-30  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/branch-local-n32-2.d: Use `branch-local-2.l'
+       for `error-output'.
+       * testsuite/gas/mips/branch-local-n64-2.d: Likewise.
+       * testsuite/gas/mips/branch-local-n32-3.d: Use `branch-local-3.l'
+       for `error-output'.
+       * testsuite/gas/mips/branch-local-n64-3.d: Likewise.
+       * testsuite/gas/mips/branch-local-n32-2.l: Remove file.
+       * testsuite/gas/mips/branch-local-n64-2.l: Remove file.
+       * testsuite/gas/mips/branch-local-n32-3.l: Remove file.
+       * testsuite/gas/mips/branch-local-n64-3.l: Remove file.
+
 2017-08-29  Jozef Lawrynowicz  <jozef.l@somniumtech.com>
 
        * config/tc-msp430.c (md_parse_option): Define high data and high
index 53b76f4..025a12c 100644 (file)
@@ -1,3 +1,3 @@
 #name: MIPS branch local symbol relocation 2 (n32)
 #as: -n32 -march=from-abi
-#error-output: branch-local-n32-2.l
+#error-output: branch-local-2.l
diff --git a/gas/testsuite/gas/mips/branch-local-n32-2.l b/gas/testsuite/gas/mips/branch-local-n32-2.l
deleted file mode 100644 (file)
index 4f93bf3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-.*: Assembler messages:
-.*:19: Error: branch to a symbol in another ISA mode
-.*:21: Error: branch to a symbol in another ISA mode
-.*:23: Error: branch to a symbol in another ISA mode
-.*:25: Error: branch to a symbol in another ISA mode
index 8ef63ef..9d84b80 100644 (file)
@@ -1,3 +1,3 @@
 #name: MIPS branch local symbol relocation 3 (n32)
 #as: -n32 -march=from-abi
-#error-output: branch-local-n32-3.l
+#error-output: branch-local-3.l
diff --git a/gas/testsuite/gas/mips/branch-local-n32-3.l b/gas/testsuite/gas/mips/branch-local-n32-3.l
deleted file mode 100644 (file)
index 39fb31f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-.*: Assembler messages:
-.*:20: Error: branch to a symbol in another ISA mode
-.*:22: Error: branch to a symbol in another ISA mode
index b14b1bd..46c48ff 100644 (file)
@@ -1,3 +1,3 @@
 #name: MIPS branch local symbol relocation 2 (n64)
 #as: -64 -march=from-abi
-#error-output: branch-local-n64-2.l
+#error-output: branch-local-2.l
diff --git a/gas/testsuite/gas/mips/branch-local-n64-2.l b/gas/testsuite/gas/mips/branch-local-n64-2.l
deleted file mode 100644 (file)
index 4f93bf3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-.*: Assembler messages:
-.*:19: Error: branch to a symbol in another ISA mode
-.*:21: Error: branch to a symbol in another ISA mode
-.*:23: Error: branch to a symbol in another ISA mode
-.*:25: Error: branch to a symbol in another ISA mode
index e12f153..f588bea 100644 (file)
@@ -1,3 +1,3 @@
 #name: MIPS branch local symbol relocation 3 (n64)
 #as: -64 -march=from-abi
-#error-output: branch-local-n64-3.l
+#error-output: branch-local-3.l
diff --git a/gas/testsuite/gas/mips/branch-local-n64-3.l b/gas/testsuite/gas/mips/branch-local-n64-3.l
deleted file mode 100644 (file)
index 39fb31f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-.*: Assembler messages:
-.*:20: Error: branch to a symbol in another ISA mode
-.*:22: Error: branch to a symbol in another ISA mode