]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
binutils archive tests
authorAlan Modra <amodra@gmail.com>
Tue, 2 Jun 2020 05:30:14 +0000 (15:00 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 2 Jun 2020 05:30:14 +0000 (15:00 +0930)
commit0bee4d1c08523419016db14c3706f922ffc6f753
tree691a31aefbf24cf6266b9d9f230f4f96011c9bb3
parent190eb1ddba41aad3a31edead9392473ae9d3bbe3
binutils archive tests

There are a number of targets that don't support thin archives (*),
and vms doesn't even support file name extensions other than .obj for
archives containing object files.  This patch adjusts the testsuite
to cater for the vms restriction, and reenables testing for non-ELF
alpha targets.  That adds a few alpha-dec-vms fails and one
alpha-linuxecoff fail but testsuite fails on those targets are nothing
new.

(*) It might seem like they do if binutils is built with
--enable-plugins but the plugin archive support is broken, causing the
wrong type of archives to be created by ar for those targets.

* testsuite/binutils-all/ar.exp (obj): Set up object file name
extension.  Use throughout.  Don't completely exclude non-ELF
alpha targets.  Run long_filenames test for tic30.  Exclude thin
archive tests for aix, ecoff and vms.
* estsuite/binutils-all/objdump.exp (obj): Set up object file name
extension.  Use throughout.  Don't exclude non-ELF alpha targets
from "bintest.a".
binutils/ChangeLog
binutils/testsuite/binutils-all/ar.exp
binutils/testsuite/binutils-all/objdump.exp