MIPS/GAS/testsuite: Restrict 64-bit `branch-mips' tests to NewABI targets
authorMaciej W. Rozycki <macro@imgtec.com>
Sat, 2 Jul 2016 21:14:27 +0000 (22:14 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Sat, 2 Jul 2016 21:15:43 +0000 (22:15 +0100)
... removing numerous `mips-sgi-irix5' failures.

gas/
* testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
tests to NewABI targets.

gas/ChangeLog
gas/testsuite/gas/mips/mips.exp

index 70435c6..8acbbea 100644 (file)
@@ -1,5 +1,10 @@
 2016-07-02  Maciej W. Rozycki  <macro@imgtec.com>
 
+       * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
+       tests to NewABI targets.
+
+2016-07-02  Maciej W. Rozycki  <macro@imgtec.com>
+
        * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
        together.
 
index 29aad67..e20905e 100644 (file)
@@ -559,11 +559,16 @@ if { [istarget mips*-*-vxworks*] } {
     run_dump_test_arches "branch-misc-1" [mips_arch_list_matching mips1]
     run_dump_test_arches "branch-misc-2" [mips_arch_list_matching mips1]
     run_dump_test_arches "branch-misc-2pic" [mips_arch_list_matching mips1]
-    run_dump_test_arches "branch-misc-2-64" [mips_arch_list_matching mips3]
-    run_dump_test_arches "branch-misc-2pic-64" [mips_arch_list_matching mips3]
     run_dump_test "branch-misc-3"
     run_dump_test_arches "branch-misc-4" [mips_arch_list_matching mips1]
-    run_dump_test_arches "branch-misc-4-64" [mips_arch_list_matching mips3]
+    if $has_newabi {
+       run_dump_test_arches "branch-misc-2-64" \
+                                       [mips_arch_list_matching mips3]
+       run_dump_test_arches "branch-misc-2pic-64" \
+                                       [mips_arch_list_matching mips3]
+       run_dump_test_arches "branch-misc-4-64" \
+                                       [mips_arch_list_matching mips3]
+    }
     run_dump_test "branch-swap"
 
     # Sweep a range of branch offsets so that it hits a position where