This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Skip tests for common directive on hpux
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 23 Feb 2016 18:40:59 -0000
- Subject: [binutils-gdb] Skip tests for common directive on hpux
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=742e5034ef645112e4ef204e84e28cf312c1b1c5
commit 742e5034ef645112e4ef204e84e28cf312c1b1c5
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Feb 23 10:40:03 2016 -0800
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.
Diff:
---
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 <hongjiu.lu@intel.com>
+
+ * testsuite/gas/elf/elf.exp: Skip tests for common directive on
+ hpux.
+
2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* 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"