MIPS/GAS/testsuite: Convert LUI list tests to dump tests
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 15 May 2017 12:06:54 +0000 (13:06 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 15 May 2017 12:57:07 +0000 (13:57 +0100)
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.

gas/ChangeLog
gas/testsuite/gas/mips/lui-1.d [new file with mode: 0644]
gas/testsuite/gas/mips/lui-2.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp

index 5b6c2e03fbfc84a1a6cda18ccf31548adef6b483..4aca584b7e3f4cfc7aeb08e0ff93d6c49c2e835a 100644 (file)
@@ -1,3 +1,10 @@
+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.
diff --git a/gas/testsuite/gas/mips/lui-1.d b/gas/testsuite/gas/mips/lui-1.d
new file mode 100644 (file)
index 0000000..135828e
--- /dev/null
@@ -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 (file)
index 0000000..1faa5ce
--- /dev/null
@@ -0,0 +1,3 @@
+#name: MIPS LUI errors 2
+#as: -32
+#error-output: lui-2.l
index e1fcce6403e532ba11a840b8d77191258bd9136b..cdc39dfef6de229a3ae1eedaa696164891830b17 100644 (file)
@@ -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"