From f881f6ff62bba53448c5d8997287ea2e628b3a65 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 12 Oct 2015 12:24:41 +0200 Subject: Add dependencies on needed locales in each subdir tests (bug 18969) --- time/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'time/Makefile') diff --git a/time/Makefile b/time/Makefile index a411f62042..933e70ea5f 100644 --- a/time/Makefile +++ b/time/Makefile @@ -41,6 +41,14 @@ tests := test_time clocktest tst-posixtz tst-strptime tst_wcsftime \ include ../Rules +ifeq ($(run-built-tests),yes) +LOCALES := de_DE.ISO-8859-1 en_US.ISO-8859-1 ja_JP.EUC-JP +include ../gen-locales.mk + +$(objpfx)tst-ftime_l.out: $(gen-locales) +$(objpfx)tst-strptime.out: $(gen-locales) +endif + tz-cflags = -DTZDIR='"$(zonedir)"' \ -DTZDEFAULT='"$(localtime-file)"' \ -DTZDEFRULES='"$(posixrules-file)"' -- cgit 1.4.1