aboutsummaryrefslogtreecommitdiff
path: root/localedata
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-09-16 12:32:55 -0700
committerWill Newton <will.newton@linaro.org>2014-09-30 15:02:41 +0100
commit85bb81c91b9cf7495aa4d7e567eae2861f54b997 (patch)
treedc942876526f036bee53339ccdd4713c1d04d985 /localedata
parentb7e02da4e9c426c61d535aa96b0cf0b296e2e25c (diff)
downloadglibc-85bb81c91b9cf7495aa4d7e567eae2861f54b997.zip
glibc-85bb81c91b9cf7495aa4d7e567eae2861f54b997.tar.gz
glibc-85bb81c91b9cf7495aa4d7e567eae2861f54b997.tar.bz2
Allow cross-building of tests
Allow building tests in a cross configuration without a test wrapper defined. This is helpful for doing simple build testing of tests. ChangeLog: 2014-09-30 Will Newton <will.newton@linaro.org> * localedata/Makefile: Move assignment to tests-special into an ifdef testing run-built-tests. * timezone/Makefile: Likewise.
Diffstat (limited to 'localedata')
-rw-r--r--localedata/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index b6235f2..c2c62a2 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -92,14 +92,14 @@ install-others := $(addprefix $(inst_i18ndir)/, \
tests: $(objdir)/iconvdata/gconv-modules
+tests-static += tst-langinfo-static
+
+ifeq ($(run-built-tests),yes)
tests-special += $(objpfx)sort-test.out $(objpfx)tst-fmon.out \
$(objpfx)tst-locale.out $(objpfx)tst-rpmatch.out \
$(objpfx)tst-trans.out $(objpfx)tst-ctype.out \
$(objpfx)tst-langinfo.out $(objpfx)tst-langinfo-static.out \
$(objpfx)tst-numeric.out
-tests-static += tst-langinfo-static
-
-ifeq ($(run-built-tests),yes)
# We have to generate locales
LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 \
en_US.ISO-8859-1 en_US.UTF-8 ja_JP.EUC-JP da_DK.ISO-8859-1 \