This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 2/4] binutils/testsuite: Disable strip-10 test on ARM non-EABI
- From: Will Newton <will dot newton at linaro dot org>
- To: binutils at sourceware dot org
- Date: Tue, 8 Jul 2014 15:14:03 +0100
- Subject: [PATCH 2/4] binutils/testsuite: Disable strip-10 test on ARM non-EABI
- Authentication-results: sourceware.org; auth=none
- References: <1404828845-20737-1-git-send-email-will dot newton at linaro dot org>
Non-EABI ARM targets set OSABI to ARM regardless of whether or not GNU
features have been used which causes this test to fail.
binutils/testsuite/ChangeLog:
2014-07-08 Will Newton <will.newton@linaro.org>
* binutils-all/objcopy.exp: Disable the strip-10 test on
non-EABI ARM configurations.
---
binutils/testsuite/binutils-all/objcopy.exp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index a7e1396..f4fa0b2 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -953,8 +953,10 @@ if [is_elf_format] {
run_dump_test "strip-7"
run_dump_test "strip-8"
run_dump_test "strip-9"
+ # Non-EABI ARM targets will set OSABI to ARM
if { ![istarget "*-*-hpux*"]
- && ![istarget "msp*-*-*"] } {
+ && ![istarget "msp*-*-*"]
+ && !([istarget "arm*-*-*"] && ![istarget "arm-*-*eabi*"])} {
run_dump_test "strip-10"
}
--
1.9.3