From 85bb81c91b9cf7495aa4d7e567eae2861f54b997 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Tue, 16 Sep 2014 12:32:55 -0700 Subject: 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 * localedata/Makefile: Move assignment to tests-special into an ifdef testing run-built-tests. * timezone/Makefile: Likewise. --- timezone/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'timezone') diff --git a/timezone/Makefile b/timezone/Makefile index 66b59ceeda..ad76e485cd 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 -- cgit 1.4.1