about summary refs log tree commit diff
path: root/string/Makefile
diff options
context:
space:
mode:
authorMartin Sebor <msebor@gcc.gnu.org>2015-09-28 16:55:57 -0400
committerMartin Sebor <msebor@gcc.gnu.org>2015-09-28 16:55:57 -0400
commit60cf80f09d029257caedc0c8abe7e3e09c64e6c7 (patch)
tree3527e453dfb97f4b54ba476572bb8b044dbf5714 /string/Makefile
parentd36c75fc0d44deec29635dd239b0fbd206ca49b7 (diff)
downloadglibc-60cf80f09d029257caedc0c8abe7e3e09c64e6c7.tar.gz
glibc-60cf80f09d029257caedc0c8abe7e3e09c64e6c7.tar.xz
glibc-60cf80f09d029257caedc0c8abe7e3e09c64e6c7.zip
Let 'make check subdirs=string' succeed even when it's invoked
immediately after glibc has been built and before 'make check'
(or after 'make clean').
Diffstat (limited to 'string/Makefile')
-rw-r--r--string/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/string/Makefile b/string/Makefile
index 8424a6162d..c543159afd 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -75,4 +75,14 @@ ifeq ($(run-built-tests),yes)
 $(objpfx)tst-svc-cmp.out: tst-svc.expect $(objpfx)tst-svc.out
 	cmp $^ > $@; \
 	$(evaluate-test)
+
+LOCALES := de_DE.UTF-8 en_US.ISO-8859-1 en_US.UTF-8 \
+           tr_TR.ISO-8859-9 tr_TR.UTF-8
+include ../gen-locales.mk
+
+$(objpfx)test-strcasecmp.out: $(gen-locales)
+$(objpfx)test-strncasecmp.out: $(gen-locales)
+$(objpfx)tst-strxfrm.out: $(gen-locales)
+$(objpfx)tst-strxfrm2.out: $(gen-locales)
+
 endif