summaryrefslogtreecommitdiff
path: root/conform
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-04-26 13:56:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-04-26 13:56:04 +0000
commit6da052fd6a7e589e3a7ffeeec5756518f9d60e1a (patch)
tree6a6e68ce8d15f43ea88a176521c8e7c5a90b349b /conform
parentbf074726151d032bc345eaaa56e0858b1677e2ee (diff)
conformtest: Correct XOPEN2K stdarg.h expectations.
The conform/ test expectations for stdarg.h were wrongly missing an expectation of va_copy for XOPEN2K (based on C99, so including that macro). This patch fixes this. Tested for x86_64 and x86. * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro. * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove variable.
Diffstat (limited to 'conform')
-rw-r--r--conform/Makefile1
-rw-r--r--conform/data/stdarg.h-data2
2 files changed, 1 insertions, 2 deletions
diff --git a/conform/Makefile b/conform/Makefile
index 7af4b2fee8..a1759c929a 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -215,7 +215,6 @@ test-xfail-XOPEN2K/langinfo.h/conform = yes
test-xfail-XOPEN2K/mqueue.h/conform = yes
test-xfail-XOPEN2K/semaphore.h/conform = yes
test-xfail-XOPEN2K/signal.h/conform = yes
-test-xfail-XOPEN2K/stdarg.h/conform = yes
test-xfail-XOPEN2K/sys/wait.h/conform = yes
test-xfail-XOPEN2K/ucontext.h/conform = yes
test-xfail-POSIX2008/arpa/inet.h/conform = yes
diff --git a/conform/data/stdarg.h-data b/conform/data/stdarg.h-data
index 2c87a3b56d..53addb91fa 100644
--- a/conform/data/stdarg.h-data
+++ b/conform/data/stdarg.h-data
@@ -5,7 +5,7 @@ macro va_start
macro va_arg
macro va_end
-#if defined ISO99 || defined ISO11 || defined POSIX2008 || defined XOPEN2K8
+#if defined ISO99 || defined ISO11 || defined XOPEN2K || defined POSIX2008 || defined XOPEN2K8
macro va_copy
#endif