aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2017-05-15 13:06:54 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2017-05-15 13:57:07 +0100
commitc76081bc874d7d41eb6f41ea79a4ac0f906467d0 (patch)
tree0853368f0b0fdd50475d22030ac89a28df5ed44e /gas
parentfdfb475260daf591d05407ea7affa39122a5b7f6 (diff)
downloadfsf-binutils-gdb-c76081bc874d7d41eb6f41ea79a4ac0f906467d0.zip
fsf-binutils-gdb-c76081bc874d7d41eb6f41ea79a4ac0f906467d0.tar.gz
fsf-binutils-gdb-c76081bc874d7d41eb6f41ea79a4ac0f906467d0.tar.bz2
MIPS/GAS/testsuite: Convert LUI list tests to dump tests
gas/ * testsuite/gas/mips/lui-1.d: New test. * testsuite/gas/mips/lui-2.d: New test. * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests into the new tests.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/testsuite/gas/mips/lui-1.d3
-rw-r--r--gas/testsuite/gas/mips/lui-2.d3
-rw-r--r--gas/testsuite/gas/mips/mips.exp4
4 files changed, 15 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5b6c2e0..4aca584 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,12 @@
2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
+ * testsuite/gas/mips/lui-1.d: New test.
+ * testsuite/gas/mips/lui-2.d: New test.
+ * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
+ into the new tests.
+
+2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
+
* config/tc-mips.c (match_const_int): Update description.
2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
diff --git a/gas/testsuite/gas/mips/lui-1.d b/gas/testsuite/gas/mips/lui-1.d
new file mode 100644
index 0000000..135828e
--- /dev/null
+++ b/gas/testsuite/gas/mips/lui-1.d
@@ -0,0 +1,3 @@
+#name: MIPS LUI errors 1
+#as: -32
+#error-output: lui-1.l
diff --git a/gas/testsuite/gas/mips/lui-2.d b/gas/testsuite/gas/mips/lui-2.d
new file mode 100644
index 0000000..1faa5ce
--- /dev/null
+++ b/gas/testsuite/gas/mips/lui-2.d
@@ -0,0 +1,3 @@
+#name: MIPS LUI errors 2
+#as: -32
+#error-output: lui-2.l
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index e1fcce6..cdc39df 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -1461,8 +1461,8 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test_arches "hilo-diff-el-n64" [mips_arch_list_matching mips3]
}
run_dump_test_arches "lui" [mips_arch_list_matching mips1]
- run_list_test_arches "lui-1" "-32" [mips_arch_list_matching mips1]
- run_list_test_arches "lui-2" "-32" [mips_arch_list_matching mips1]
+ run_dump_test_arches "lui-1" [mips_arch_list_matching mips1]
+ run_dump_test_arches "lui-2" [mips_arch_list_matching mips1]
run_dump_test "r5900"
run_dump_test "r5900-full"