about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-04-18 23:51:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-04-18 23:51:35 +0000
commit62f71aad7e0d9df95578846134f1738ddf0e7844 (patch)
tree67fe7337f57aa70f7c4e485e8ab61ce98bfa63be
parent2288c2674d050cbbe96a3eb00e7dda1452160c32 (diff)
downloadglibc-62f71aad7e0d9df95578846134f1738ddf0e7844.tar.gz
glibc-62f71aad7e0d9df95578846134f1738ddf0e7844.tar.xz
glibc-62f71aad7e0d9df95578846134f1738ddf0e7844.zip
conformtest: Enable tests when cross compiling.
This patch enables the compilation part of the conformtest tests (the
vast bulk of them) when cross compiling, so making it easy to run them
across many configurations with build-many-glibcs.py.

Tested with build-many-glibcs.py.

	* conform/Makefile (tests-special): Do not make addition of
	$(conformtest-header-tests) conditional on [$(cross-compiling) = no].
	(generated): Do not make addition of $(conformtest-header-base)
	conditional on [$(cross-compiling) = no].
-rw-r--r--ChangeLog5
-rw-r--r--conform/Makefile2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7264a9d427..fc8c2e4f7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
 
+	* conform/Makefile (tests-special): Do not make addition of
+	$(conformtest-header-tests) conditional on [$(cross-compiling) = no].
+	(generated): Do not make addition of $(conformtest-header-base)
+	conditional on [$(cross-compiling) = no].
+
 	[BZ #21267]
 	* sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
 	if defined by <asm/socket.h> and not previously defined.
diff --git a/conform/Makefile b/conform/Makefile
index eb2288f144..9638ddaa5a 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -112,11 +112,9 @@ conformtest-header-base := $(foreach std,\
 					       $(std)/$(h)/conform.out))
 conformtest-header-tests := $(addprefix $(objpfx),$(conformtest-header-base))
 ifneq (yes,$(fast-check))
-ifeq (no,$(cross-compiling))
 tests-special += $(conformtest-header-tests)
 generated += $(conformtest-header-base)
 endif
-endif
 
 linknamespace-symlists-base := $(foreach std,$(conformtest-standards),\
 					     symlist-$(std))