MIPS/GAS/testsuite: Convert `mips16e-save-err' list test to a dump test
authorMaciej W. Rozycki <macro@imgtec.com>
Tue, 27 Jun 2017 03:23:54 +0000 (04:23 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Tue, 27 Jun 2017 03:23:54 +0000 (04:23 +0100)
gas/
* testsuite/gas/mips/mips16e-save-err.d: New test.
* gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
test into the new test.

gas/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16e-save-err.d [new file with mode: 0644]

index b221c7e2ca69ad9cbaea0faae299641f56489ebd..160e3072c034e00e0bdba67806f17af989ba56fd 100644 (file)
@@ -1,3 +1,9 @@
+2017-06-27  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e-save-err.d: New test.
+       * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
+       test into the new test.
+
 2017-06-27  Maciej W. Rozycki  <macro@imgtec.com>
 
        * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
index 40aa95af07d09600037115aabe6a29e6e84d5657..e5973d8fc1c205a5c586f8e7a8398c2f155b889a 100644 (file)
@@ -1384,7 +1384,7 @@ if { [istarget mips*-*-vxworks*] } {
 
     run_dump_test "mips16e-jrc"
     run_dump_test "mips16e-save"
-    run_list_test "mips16e-save-err" "-march=mips32 -32"
+    run_dump_test "mips16e-save-err"
     run_dump_test "mips16e2-lui"
 
     run_dump_test "mips16-intermix"
diff --git a/gas/testsuite/gas/mips/mips16e-save-err.d b/gas/testsuite/gas/mips/mips16e-save-err.d
new file mode 100644 (file)
index 0000000..77bd966
--- /dev/null
@@ -0,0 +1,3 @@
+#name: MIPS16e SAVE/RESTORE errors
+#as: -march=mips32 -32
+#error-output: mips16e-save-err.l