]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: Enable tests when cross compiling.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 18 Apr 2017 23:51:35 +0000 (23:51 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 18 Apr 2017 23:51:35 +0000 (23:51 +0000)
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
conform/Makefile

index 7264a9d42706e7e005b4cfb4855ab2478f862a87..fc8c2e4f7b5d5baeb72b15656c406da547262de0 100644 (file)
--- 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.
index eb2288f14462d5cc4e325286c8d950e548eda080..9638ddaa5a3cd235853e8f29444e63c22f437dd9 100644 (file)
@@ -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))