conformtest: Enable tests when cross compiling [committed]

Message ID alpine.DEB.2.20.1704182351511.1253@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers April 18, 2017, 11:52 p.m.
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.  Committed.

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].

Patch

diff --git a/conform/Makefile b/conform/Makefile
index c07cc1d..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))