Skip tests for common directive on hpux
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 23 Feb 2016 18:40:03 +0000 (10:40 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 23 Feb 2016 18:40:43 +0000 (10:40 -0800)
hpux has a non-standard common directive.

* testsuite/gas/elf/elf.exp: Skip tests for common directive on
hpux.

gas/ChangeLog
gas/testsuite/gas/elf/elf.exp

index 2059a6575e9bbd45efd3cfb57b149c9734cdd735..daaa081763596b5435ed6ecb05f558e89217e266 100644 (file)
@@ -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.
index 40dfd12ae45adbd92d01ad4f067a2f94699ee35f..2ed764d2e1cae853f955422435adbfbd80e9efe7 100644 (file)
@@ -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"