glibc/conform
Joseph Myers 0fbca26c39 conformtest: Make more tests into compilation tests.
The conformtest header tests test some things through compilation
tests and others through execution tests.  This patch makes more of
the tests into compilation tests, using _Static_assert (note: for
float.h tests on floating-point values this is depending on a GNU
extension, that those assertions are allowed in the absence of
-pedantic although they aren't strictly integer constant expressions).
The remaining execution tests are for values of things listed as
"symbol" (in fact no such things have a value expectation listed) and
for values of macros defined as string constants (three such values
listed in total).

This is intended as preparation for enabling the vast bulk of the
tests to run for cross compilation.  (Even the few remaining execution
tests ought in principle to run for cross compilation when a test
wrapper is defined, but that's more complicated.  The existing
execution tests for native builds in fact are linked and run with an
existing installed libc that's required to exist to link against,
rather than with the newly built libc; only the new headers are used.)

Tested for x86_64.

	* conform/conformtest.pl: Use compilation instead of execution
	tests for testing values of constants and usability in #if.
2017-03-16 17:51:23 +00:00
..
data Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
check-header-lists.sh Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
conformtest.pl conformtest: Make more tests into compilation tests. 2017-03-16 17:51:23 +00:00
GlibcConform.pm Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
linknamespace.pl Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
list-header-symbols.pl Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Makefile Fix missing test dependency 2017-02-01 17:40:56 +01:00