diff mbox

[2/4] binutils/testsuite: Disable strip-10 test on ARM non-EABI

Message ID 1404828845-20737-2-git-send-email-will.newton@linaro.org
State Accepted
Headers show

Commit Message

Will Newton July 8, 2014, 2:14 p.m. UTC
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(-)

Comments

Nick Clifton July 9, 2014, 8:22 a.m. UTC | #1
Hi Will,

 > 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.

Approved - please apply.
diff mbox

Patch

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"
     }