From: Joseph Myers Date: Tue, 18 Apr 2017 23:51:35 +0000 (+0000) Subject: conformtest: Enable tests when cross compiling. X-Git-Tag: glibc-2.26~596 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f71aad7e0d9df95578846134f1738ddf0e7844;p=thirdparty%2Fglibc.git 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]. --- diff --git a/ChangeLog b/ChangeLog index 7264a9d4270..fc8c2e4f7b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2017-04-18 Joseph Myers + * 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 and not previously defined. diff --git a/conform/Makefile b/conform/Makefile index eb2288f1446..9638ddaa5a3 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))