From 62f71aad7e0d9df95578846134f1738ddf0e7844 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 18 Apr 2017 23:51:35 +0000 Subject: [PATCH] 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]. --- ChangeLog | 5 +++++ conform/Makefile | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7264a9d..fc8c2e4 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 eb2288f..9638dda 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)) -- 2.7.4