This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/GAS/testsuite: Convert LUI list tests to dump tests
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Mon, 15 May 2017 14:28:07 +0100
- Subject: [committed] MIPS/GAS/testsuite: Convert LUI list tests to dump tests
- Authentication-results: sourceware.org; auth=none
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.
---
binutils-mips-gas-test-lui-dump.diff
Index: binutils/gas/testsuite/gas/mips/lui-1.d
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ binutils/gas/testsuite/gas/mips/lui-1.d 2017-05-12 18:44:35.667756491 +0100
@@ -0,0 +1,3 @@
+#name: MIPS LUI errors 1
+#as: -32
+#error-output: lui-1.l
Index: binutils/gas/testsuite/gas/mips/lui-2.d
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ binutils/gas/testsuite/gas/mips/lui-2.d 2017-05-12 18:44:45.494523773 +0100
@@ -0,0 +1,3 @@
+#name: MIPS LUI errors 2
+#as: -32
+#error-output: lui-2.l
Index: binutils/gas/testsuite/gas/mips/mips.exp
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/mips.exp 2017-05-12 18:41:29.000000000 +0100
+++ binutils/gas/testsuite/gas/mips/mips.exp 2017-05-12 18:45:16.646216313 +0100
@@ -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"