[binutils-gdb] MIPS/GAS/testsuite: Restrict 64-bit `branch-mips' tests to NewABI targets

Maciej W.Rozycki macro@sourceware.org
Sat Jul 2 22:51:00 GMT 2016


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d7f20d660a38564dc798f7a77169f5873174041c

commit d7f20d660a38564dc798f7a77169f5873174041c
Author: Maciej W. Rozycki <macro@imgtec.com>
Date:   Sat Jul 2 22:14:27 2016 +0100

    MIPS/GAS/testsuite: Restrict 64-bit `branch-mips' tests to NewABI targets
    
    ... removing numerous `mips-sgi-irix5' failures.
    
    	gas/
    	* testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
    	tests to NewABI targets.

Diff:
---
 gas/ChangeLog                   |  5 +++++
 gas/testsuite/gas/mips/mips.exp | 11 ++++++++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 70435c6..8acbbea 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
 
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index 29aad67..e20905e 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -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



More information about the Binutils-cvs mailing list