about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2015-10-12 12:24:41 +0200
committerAndreas Schwab <schwab@suse.de>2015-10-12 15:18:08 +0200
commitf881f6ff62bba53448c5d8997287ea2e628b3a65 (patch)
tree404f7967786750db4513909c527088ff5783dd77 /stdio-common
parentc7b8939bf5646d1033375128f19261b401b9a0ce (diff)
downloadglibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.tar.gz
glibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.tar.xz
glibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.zip
Add dependencies on needed locales in each subdir tests (bug 18969)
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index df4122d206..d92d9d16de 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -72,6 +72,19 @@ endif
 
 include ../Rules
 
+ifeq ($(run-built-tests),yes)
+LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ISO-8859-1 ja_JP.EUC-JP
+include ../gen-locales.mk
+
+$(objpfx)bug14.out: $(gen-locales)
+$(objpfx)scanf13.out: $(gen-locales)
+$(objpfx)test-vfprintf.out: $(gen-locales)
+$(objpfx)tst-grouping.out: $(gen-locales)
+$(objpfx)tst-sprintf.out: $(gen-locales)
+$(objpfx)tst-sscanf.out: $(gen-locales)
+$(objpfx)tst-swprintf.out: $(gen-locales)
+endif
+
 tst-printf-bz18872-ENV = MALLOC_TRACE=$(objpfx)tst-printf-bz18872.mtrace
 
 $(objpfx)tst-unbputc.out: tst-unbputc.sh $(objpfx)tst-unbputc