diff options
author | Andreas Schwab <schwab@suse.de> | 2015-10-12 12:24:41 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2015-10-12 15:18:08 +0200 |
commit | f881f6ff62bba53448c5d8997287ea2e628b3a65 (patch) | |
tree | 404f7967786750db4513909c527088ff5783dd77 /wcsmbs/Makefile | |
parent | c7b8939bf5646d1033375128f19261b401b9a0ce (diff) | |
download | glibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.tar glibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.tar.gz glibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.tar.bz2 glibc-f881f6ff62bba53448c5d8997287ea2e628b3a65.zip |
Add dependencies on needed locales in each subdir tests (bug 18969)
Diffstat (limited to 'wcsmbs/Makefile')
-rw-r--r-- | wcsmbs/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile index dc72ba4ad5..a59a005a96 100644 --- a/wcsmbs/Makefile +++ b/wcsmbs/Makefile @@ -51,6 +51,19 @@ tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-btowc tst-mbrtowc \ include ../Rules +ifeq ($(run-built-tests),yes) +LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 hr_HR.ISO-8859-2 \ + ja_JP.EUC-JP zh_TW.EUC-TW +include ../gen-locales.mk + +$(objpfx)tst-btowc.out: $(gen-locales) +$(objpfx)tst-c16c32-1.out: $(gen-locales) +$(objpfx)tst-mbrtowc.out: $(gen-locales) +$(objpfx)tst-mbrtowc2.out: $(gen-locales) +$(objpfx)tst-wcrtomb.out: $(gen-locales) +$(objpfx)wcsmbs-tst1.out: $(gen-locales) +endif + CFLAGS-wcwidth.c = -I../wctype CFLAGS-wcswidth.c = -I../wctype |