]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: XFAIL uc_mcontext test for powerpc32 (bug 21635).
authorJoseph Myers <joseph@codesourcery.com>
Tue, 20 Jun 2017 17:51:36 +0000 (17:51 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 20 Jun 2017 17:51:36 +0000 (17:51 +0000)
This patch XFAILs one test where the powerpc32 ucontext_t has the
wrong type of a field, to allow the conform/ tests as a whole to pass
once the namespace issues are fixed.

Tested with build-many-glibcs.py.

[BZ #21635]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
[$(subdir) = conform] (conformtest-xfail-conds): New variable.
* conform/data/signal.h-data (uc_mcontext): XFAIL for
powerpc32-linux.
* conform/data/ucontext.h-data (uc_mcontext): Likewise.

ChangeLog
conform/data/signal.h-data
conform/data/ucontext.h-data
sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile

index 99ee480b23696540e9cbcd57ec68b177b7f200cd..6defb8d53db99668aaf916fff95c2c83fa7ea3df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
 
+       [BZ #21635]
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
+       [$(subdir) = conform] (conformtest-xfail-conds): New variable.
+       * conform/data/signal.h-data (uc_mcontext): XFAIL for
+       powerpc32-linux.
+       * conform/data/ucontext.h-data (uc_mcontext): Likewise.
+
        [BZ #21634]
        * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
        (conformtest-xfail-conds): New variable.
index 08635d2c6b4ef1266fc75cb4d9ed2b33c35d9367..fa841cfdbecde1bc8b8588370c3050ca103a62ce 100644 (file)
@@ -27,7 +27,8 @@ element ucontext_t {ucontext_t*} uc_link
 // Bug 21634: uc_sigmask has wrong type.
 xfail[ia64-linux]-element ucontext_t sigset_t uc_sigmask
 element ucontext_t stack_t uc_stack
-element ucontext_t mcontext_t uc_mcontext
+// Bug 21635: uc_mcontext has wrong type.
+xfail[powerpc32-linux]-element ucontext_t mcontext_t uc_mcontext
 
 type {struct timespec}
 element {struct timespec} __time_t tv_sec
@@ -139,7 +140,8 @@ element ucontext_t {ucontext_t*} uc_link
 // Bug 21634: uc_sigmask has wrong type.
 xfail[ia64-linux]-element ucontext_t sigset_t uc_sigmask
 element ucontext_t stack_t uc_stack
-element ucontext_t mcontext_t uc_mcontext
+// Bug 21635: uc_mcontext has wrong type.
+xfail[powerpc32-linux]-element ucontext_t mcontext_t uc_mcontext
 
 type stack_t
 
index 7e0b4a7f68b1070c1ab036bfc12f70c20e0b808c..a840f464fc03531eb75f0255de9b47563916b71b 100644 (file)
@@ -7,7 +7,8 @@ element ucontext_t {ucontext_t*} uc_link
 // Bug 21634: uc_sigmask has wrong type.
 xfail[ia64-linux]-element ucontext_t sigset_t uc_sigmask
 element ucontext_t stack_t uc_stack
-element ucontext_t mcontext_t uc_mcontext
+// Bug 21635: uc_mcontext has wrong type.
+xfail[powerpc32-linux]-element ucontext_t mcontext_t uc_mcontext
 
 type sigset_t
 type stack_t
index 1f45659ed1d78f7ca07910b434360c21fab61979..b2d7c8f6cc32e7130f92126e6f2bec9cd124b923 100644 (file)
@@ -8,3 +8,8 @@ shared-only-routines += divdi3
 CPPFLAGS-divdi3.c = -Din_divdi3_c
 endif
 endif
+
+ifeq ($(subdir),conform)
+# For bug 21635.
+conformtest-xfail-conds += powerpc32-linux
+endif