summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-06-20 17:51:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-06-20 17:51:36 +0000
commit46ad8909ceec259b3cd22159fbd9c23aca1621f3 (patch)
treea890416ec2f925a906149263498134e8321fcf10 /conform
parente0b5a3b6540524ede1986dbfc5f83dd478445cc2 (diff)
downloadglibc-46ad8909ceec259b3cd22159fbd9c23aca1621f3.tar.gz
glibc-46ad8909ceec259b3cd22159fbd9c23aca1621f3.tar.xz
glibc-46ad8909ceec259b3cd22159fbd9c23aca1621f3.zip
conformtest: XFAIL uc_mcontext test for powerpc32 (bug 21635).
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.
Diffstat (limited to 'conform')
-rw-r--r--conform/data/signal.h-data6
-rw-r--r--conform/data/ucontext.h-data3
2 files changed, 6 insertions, 3 deletions
diff --git a/conform/data/signal.h-data b/conform/data/signal.h-data
index 08635d2c6b..fa841cfdbe 100644
--- a/conform/data/signal.h-data
+++ b/conform/data/signal.h-data
@@ -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
 
diff --git a/conform/data/ucontext.h-data b/conform/data/ucontext.h-data
index 7e0b4a7f68..a840f464fc 100644
--- a/conform/data/ucontext.h-data
+++ b/conform/data/ucontext.h-data
@@ -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