This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] MIPS/GAS/testsuite: Convert `mips16e-save-err' list test to a dump test
- From: Maciej W.Rozycki <macro at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 27 Jun 2017 03:25:46 -0000
- Subject: [binutils-gdb] MIPS/GAS/testsuite: Convert `mips16e-save-err' list test to a dump test
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2438385a4dea36eba111ee931a2fe2d159c676c8
commit 2438385a4dea36eba111ee931a2fe2d159c676c8
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Jun 27 04:23:54 2017 +0100
MIPS/GAS/testsuite: Convert `mips16e-save-err' list test to a dump test
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.
Diff:
---
gas/ChangeLog | 6 ++++++
gas/testsuite/gas/mips/mips.exp | 2 +-
gas/testsuite/gas/mips/mips16e-save-err.d | 3 +++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b221c7e..160e307 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
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'
option.
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index 40aa95a..e5973d8 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -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
index 0000000..77bd966
--- /dev/null
+++ b/gas/testsuite/gas/mips/mips16e-save-err.d
@@ -0,0 +1,3 @@
+#name: MIPS16e SAVE/RESTORE errors
+#as: -march=mips32 -32
+#error-output: mips16e-save-err.l