This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Relax previous restriction on running binutils ar tests for Alpha targets, allowing the tests to be


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

commit 50c901ede915776db734ea77225ebd3558fab2f6
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jun 28 14:05:34 2016 +0100

    Relax previous restriction on running binutils ar tests for Alpha targets, allowing the tests to be run for ELF variants.
    
    	* testsuite/binutils-all/ar.exp: Relax previous restriction on
    	Alpha targets.  Allow ELF based Alpha targets.

Diff:
---
 binutils/ChangeLog                     | 5 +++++
 binutils/testsuite/binutils-all/ar.exp | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a36eabc..9a30a20 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-28  Nick Clifton  <nickc@redhat.com>
+
+	* testsuite/binutils-all/ar.exp: Relax previous restriction on
+	Alpha targets.  Allow ELF based Alpha targets.
+
 2016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
 
 	* testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
diff --git a/binutils/testsuite/binutils-all/ar.exp b/binutils/testsuite/binutils-all/ar.exp
index 604ebdc..8649f80 100644
--- a/binutils/testsuite/binutils-all/ar.exp
+++ b/binutils/testsuite/binutils-all/ar.exp
@@ -26,8 +26,8 @@ if ![is_remote host] {
     }
 }
 
-if {[istarget "alpha-*-*"]} then {
-  return
+if { [istarget "alpha-*-*"] && ![is_elf_format] } then {
+    return
 }
 
 # send_user "Version [binutil_version $AR]"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]