aboutsummaryrefslogtreecommitdiff
path: root/timezone
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 /timezone
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 'timezone')
-rw-r--r--timezone/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index 66b59ce..ad76e48 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -45,11 +45,13 @@ generated += tzselect
testdata = $(objpfx)testdata
+ifeq ($(run-built-tests),yes)
# List zones generated by separate commands running zic on the host.
# Each such zic run counts as a separate test.
test-zones := America/New_York Etc/UTC UTC Europe/Berlin \
Australia/Melbourne America/Sao_Paulo Asia/Tokyo
tests-special += $(addprefix $(testdata)/, $(test-zones))
+endif
include ../Rules