conformtest: correct set of standards for which some headers are tested.
Reviewing the sets of headers for which conformtest has expectations for various standards showed up cases where headers had expectations for standards not including those headers, or were missing expectations for a standard that did include the header. This patch fixes easy cases of this (largely disabling tests for standards for which they are inapplicable). Tested x86_64. * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file. * conform/data/arpa/inet.h-data [XPG3]: Likewise. * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise. * conform/data/fmtmsg.h-data [XPG3]: Likewise. * conform/data/libgen.h-data [XPG3]: Likewise. * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise. * conform/data/ndbm.h-data [XPG3]: Likewise. * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise. * conform/data/netdb.h-data [XPG3]: Likewise. * conform/data/netinet/in.h-data [XPG3]: Likewise. * conform/data/poll.h-data [XPG3]: Likewise. * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise. * conform/data/strings.h-data [XPG3]: Likewise. * conform/data/stropts.h-data [XPG3]: Likewise. * conform/data/sys/mman.h-data [XPG3]: Likewise. * conform/data/sys/resource.h-data [XPG3]: Likewise. * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]: Likewise. * conform/data/sys/statvfs.h-data [XPG3]: Likewise. * conform/data/sys/time.h-data [XPG3]: Likewise. * conform/data/sys/timeb.h-data [XPG3]: Likewise. * conform/data/sys/uio.h-data [XPG3]: Likewise. * conform/data/sys/un.h-data [XPG3]: Likewise. * conform/data/syslog.h-data [XPG3]: Likewise. * conform/data/ucontext.h-data [XPG3]: Likewise. * conform/data/utmpx.h-data [XPG3]: Likewise. * conform/data/varargs.h-data [UNIX98]: Enable file.
This commit is contained in:
parent
355bc9868b
commit
2ea18461d3
28
ChangeLog
28
ChangeLog
|
@ -1,5 +1,33 @@
|
||||||
2014-03-06 Joseph Myers <joseph@codesourcery.com>
|
2014-03-06 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
|
||||||
|
* conform/data/arpa/inet.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
|
||||||
|
* conform/data/fmtmsg.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/libgen.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
|
||||||
|
* conform/data/ndbm.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
|
||||||
|
* conform/data/netdb.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/netinet/in.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/poll.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
|
||||||
|
* conform/data/strings.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/stropts.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/sys/mman.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/sys/resource.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
|
||||||
|
Likewise.
|
||||||
|
* conform/data/sys/statvfs.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/sys/time.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/sys/timeb.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/sys/uio.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/sys/un.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/syslog.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/ucontext.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/utmpx.h-data [XPG3]: Likewise.
|
||||||
|
* conform/data/varargs.h-data [UNIX98]: Enable file.
|
||||||
|
|
||||||
* manual/Makefile (INSTALL_INFO): Remove variable setting.
|
* manual/Makefile (INSTALL_INFO): Remove variable setting.
|
||||||
|
|
||||||
* math/libm-test.inc (struct test_f_f_data): Move expected results
|
* math/libm-test.inc (struct test_f_f_data): Move expected results
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG3 && !defined XPG4
|
||||||
type {struct aiocb}
|
type {struct aiocb}
|
||||||
|
|
||||||
// Test elements of the AIO control struct.
|
// Test elements of the AIO control struct.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
// in_port_t should have exactly 16 bits
|
// in_port_t should have exactly 16 bits
|
||||||
type in_port_t
|
type in_port_t
|
||||||
// in_addr_t should have exactly 32 bits
|
// in_addr_t should have exactly 32 bits
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4
|
||||||
macro RTLD_LAZY
|
macro RTLD_LAZY
|
||||||
macro RTLD_NOW
|
macro RTLD_NOW
|
||||||
macro RTLD_GLOBAL
|
macro RTLD_GLOBAL
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
|
||||||
macro MM_HARD
|
macro MM_HARD
|
||||||
constant MM_HARD
|
constant MM_HARD
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
|
||||||
function {char*} basename (char*)
|
function {char*} basename (char*)
|
||||||
function {char*} dirname (char*)
|
function {char*} dirname (char*)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG3 && !defined XPG4
|
||||||
// should test for not an array type.
|
// should test for not an array type.
|
||||||
type mqd_t
|
type mqd_t
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
|
||||||
type datum
|
type datum
|
||||||
element datum {void*} dptr
|
element datum {void*} dptr
|
||||||
element datum size_t dsize
|
element datum size_t dsize
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
|
||||||
type {struct if_nameindex}
|
type {struct if_nameindex}
|
||||||
|
|
||||||
element {struct if_nameindex} {unsigned int} if_index
|
element {struct if_nameindex} {unsigned int} if_index
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
optional-type in_port_t
|
optional-type in_port_t
|
||||||
optional-type in_addr_t
|
optional-type in_addr_t
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
type in_port_t
|
type in_port_t
|
||||||
type in_addr_t
|
type in_addr_t
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
type {struct pollfd}
|
type {struct pollfd}
|
||||||
element {struct pollfd} int fd
|
element {struct pollfd} int fd
|
||||||
element {struct pollfd} {short int} events
|
element {struct pollfd} {short int} events
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
|
||||||
type posix_spawnattr_t
|
type posix_spawnattr_t
|
||||||
type posix_spawn_file_actions_t
|
type posix_spawn_file_actions_t
|
||||||
# if defined XOPEN2K8 || defined POSIX2008
|
# if defined XOPEN2K8 || defined POSIX2008
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
# if !defined XOPEN2K8 && !defined POSIX2008
|
# if !defined XOPEN2K8 && !defined POSIX2008
|
||||||
function int bcmp (const void*, const void*, size_t)
|
function int bcmp (const void*, const void*, size_t)
|
||||||
function void bcopy (const void*, void*, size_t)
|
function void bcopy (const void*, void*, size_t)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
type {struct bandinfo}
|
type {struct bandinfo}
|
||||||
|
|
||||||
element {struct bandinfo} {unsigned char} bi_pri
|
element {struct bandinfo} {unsigned char} bi_pri
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG3
|
||||||
constant PROT_READ
|
constant PROT_READ
|
||||||
constant PROT_WRITE
|
constant PROT_WRITE
|
||||||
constant PROT_EXEC
|
constant PROT_EXEC
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
|
||||||
constant PRIO_PROCESS
|
constant PRIO_PROCESS
|
||||||
constant PRIO_PGRP
|
constant PRIO_PGRP
|
||||||
constant PRIO_USER
|
constant PRIO_USER
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
|
||||||
type time_t
|
type time_t
|
||||||
type suseconds_t
|
type suseconds_t
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
type {struct statvfs}
|
type {struct statvfs}
|
||||||
|
|
||||||
element {struct statvfs} {unsigned long} f_bsize
|
element {struct statvfs} {unsigned long} f_bsize
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
|
||||||
type {struct timeval}
|
type {struct timeval}
|
||||||
|
|
||||||
element {struct timeval} time_t tv_sec
|
element {struct timeval} time_t tv_sec
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
type {struct timeb}
|
type {struct timeb}
|
||||||
|
|
||||||
element {struct timeb} time_t time
|
element {struct timeb} time_t time
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
type {struct iovec}
|
type {struct iovec}
|
||||||
|
|
||||||
element {struct iovec} {void*} iov_base
|
element {struct iovec} {void*} iov_base
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
type {struct sockaddr_un}
|
type {struct sockaddr_un}
|
||||||
|
|
||||||
element {struct sockaddr_un} sa_family_t sun_family
|
element {struct sockaddr_un} sa_family_t sun_family
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
|
||||||
constant LOG_PID
|
constant LOG_PID
|
||||||
constant LOG_CONS
|
constant LOG_CONS
|
||||||
constant LOG_NDELAY
|
constant LOG_NDELAY
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3
|
||||||
type mcontext_t
|
type mcontext_t
|
||||||
|
|
||||||
type ucontext_t
|
type ucontext_t
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
|
||||||
type {struct utmpx}
|
type {struct utmpx}
|
||||||
|
|
||||||
element {struct utmpx} char ut_user []
|
element {struct utmpx} char ut_user []
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if defined XPG3 || defined XPG4
|
#if defined XPG3 || defined XPG4 || defined UNIX98
|
||||||
macro va_alist
|
macro va_alist
|
||||||
macro va_dcl
|
macro va_dcl
|
||||||
type va_list
|
type va_list
|
||||||
|
|
Loading…
Reference in New Issue