From 742e5034ef645112e4ef204e84e28cf312c1b1c5 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 23 Feb 2016 10:40:03 -0800 Subject: [PATCH] Skip tests for common directive on hpux hpux has a non-standard common directive. * testsuite/gas/elf/elf.exp: Skip tests for common directive on hpux. --- gas/ChangeLog | 5 +++++ gas/testsuite/gas/elf/elf.exp | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2059a65..daaa081 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-02-23 H.J. Lu + + * testsuite/gas/elf/elf.exp: Skip tests for common directive on + hpux. + 2016-02-22 Trevor Saunders * output-file.c (output_file_create): Make file name argument const. diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 40dfd12..2ed764d 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -214,8 +214,11 @@ if { [is_elf_format] } then { run_dump_test "syms" - run_dump_test "common1" - run_dump_test "common2" + # hpux has a non-standard common directive. + if { ![istarget "*-*-hpux*"] } then { + run_dump_test "common1" + run_dump_test "common2" + } run_dump_test "strtab" -- 2.7.4