about summary refs log tree commit diff
path: root/conform/data/signal.h-data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-03-18 00:24:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-03-18 00:24:13 +0000
commit345118d7f5bc42c8d4c3a8ef70b9b709fa57e93d (patch)
treec025cfd37b9434d93b400c9d06ee4c8b77835376 /conform/data/signal.h-data
parent19641dbd61fe0440fa1f0ebd2f358b5ba98e839f (diff)
downloadglibc-345118d7f5bc42c8d4c3a8ef70b9b709fa57e93d.tar.gz
glibc-345118d7f5bc42c8d4c3a8ef70b9b709fa57e93d.tar.xz
glibc-345118d7f5bc42c8d4c3a8ef70b9b709fa57e93d.zip
conformtest: XFAIL tv_nsec tests for x32 (bug 16437).
This patch XFAILs the conformtest tv_nsec tests for x32 so that the
incorrect type does not potentially hide other failures.  As this is
not a fix for the bug, it should remain open in Bugzilla.

Tested (compilation only) with build-many-glibcs.py.

	[BZ #16437]
	* sysdeps/unix/sysv/linux/x86_64/x32/Makefile
	[$(subdir) = conform] (conformtest-xfail-conds): New variable.
	* conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
	x86_64-x32-linux.
	* conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
	* conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
	* conform/data/time.h-data (timespec.tv_nsec): Likewise.
Diffstat (limited to 'conform/data/signal.h-data')
-rw-r--r--conform/data/signal.h-data3
1 files changed, 2 insertions, 1 deletions
diff --git a/conform/data/signal.h-data b/conform/data/signal.h-data
index 6fca921492..1443215e40 100644
--- a/conform/data/signal.h-data
+++ b/conform/data/signal.h-data
@@ -30,7 +30,8 @@ element ucontext_t mcontext_t uc_mcontext
 
 type {struct timespec}
 element {struct timespec} __time_t tv_sec
-element {struct timespec} long tv_nsec
+// Bug 16437: tv_nsec has wrong type.
+xfail[x86_64-x32-linux]-element {struct timespec} long tv_nsec
 #endif
 
 #if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008