mirror of git://sourceware.org/git/glibc.git
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.
This commit is contained in:
parent
b7e02da4e9
commit
85bb81c91b
|
@ -1,3 +1,9 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2014-09-29 Joseph Myers <joseph@codesourcery.com>
|
2014-09-29 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
|
* sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
|
||||||
|
|
|
@ -92,14 +92,14 @@ install-others := $(addprefix $(inst_i18ndir)/, \
|
||||||
|
|
||||||
tests: $(objdir)/iconvdata/gconv-modules
|
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 \
|
tests-special += $(objpfx)sort-test.out $(objpfx)tst-fmon.out \
|
||||||
$(objpfx)tst-locale.out $(objpfx)tst-rpmatch.out \
|
$(objpfx)tst-locale.out $(objpfx)tst-rpmatch.out \
|
||||||
$(objpfx)tst-trans.out $(objpfx)tst-ctype.out \
|
$(objpfx)tst-trans.out $(objpfx)tst-ctype.out \
|
||||||
$(objpfx)tst-langinfo.out $(objpfx)tst-langinfo-static.out \
|
$(objpfx)tst-langinfo.out $(objpfx)tst-langinfo-static.out \
|
||||||
$(objpfx)tst-numeric.out
|
$(objpfx)tst-numeric.out
|
||||||
tests-static += tst-langinfo-static
|
|
||||||
|
|
||||||
ifeq ($(run-built-tests),yes)
|
|
||||||
# We have to generate locales
|
# We have to generate locales
|
||||||
LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 \
|
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 \
|
en_US.ISO-8859-1 en_US.UTF-8 ja_JP.EUC-JP da_DK.ISO-8859-1 \
|
||||||
|
|
|
@ -45,11 +45,13 @@ generated += tzselect
|
||||||
|
|
||||||
testdata = $(objpfx)testdata
|
testdata = $(objpfx)testdata
|
||||||
|
|
||||||
|
ifeq ($(run-built-tests),yes)
|
||||||
# List zones generated by separate commands running zic on the host.
|
# List zones generated by separate commands running zic on the host.
|
||||||
# Each such zic run counts as a separate test.
|
# Each such zic run counts as a separate test.
|
||||||
test-zones := America/New_York Etc/UTC UTC Europe/Berlin \
|
test-zones := America/New_York Etc/UTC UTC Europe/Berlin \
|
||||||
Australia/Melbourne America/Sao_Paulo Asia/Tokyo
|
Australia/Melbourne America/Sao_Paulo Asia/Tokyo
|
||||||
tests-special += $(addprefix $(testdata)/, $(test-zones))
|
tests-special += $(addprefix $(testdata)/, $(test-zones))
|
||||||
|
endif
|
||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue