about summary refs log tree commit diff
path: root/locale/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-04-23 18:16:26 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-04-23 18:16:26 +0200
commite485b2b6e006a7efa5d73e6be7e357a395c77fe3 (patch)
tree66995dc87e947c94f06197e0f64598dc13bc97e0 /locale/Makefile
parent25f7a3c96116a9102df8bf7b04ef160faa32416d (diff)
downloadglibc-e485b2b6e006a7efa5d73e6be7e357a395c77fe3.tar.gz
glibc-e485b2b6e006a7efa5d73e6be7e357a395c77fe3.tar.xz
glibc-e485b2b6e006a7efa5d73e6be7e357a395c77fe3.zip
locale: Add LOCPATH diagnostics to the locale program
The implementation of quote_string is based on support_quote_blob.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'locale/Makefile')
-rw-r--r--locale/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/locale/Makefile b/locale/Makefile
index 764e751c36..6822b795dd 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -28,6 +28,7 @@ routines	= setlocale findlocale loadlocale loadarchive \
 		  localeconv nl_langinfo nl_langinfo_l mb_cur_max \
 		  newlocale duplocale freelocale uselocale
 tests		= tst-C-locale tst-locname tst-duplocale
+tests-special	= $(objpfx)tst-locale-locpath.out
 categories	= ctype messages monetary numeric time paper name \
 		  address telephone measurement identification collate
 aux		= $(categories:%=lc-%) $(categories:%=C-%) SYS_libc C_name \
@@ -107,3 +108,7 @@ cpp-srcs-left := $(localedef-modules) $(localedef-aux) $(locale-modules) \
 		 $(lib-modules)
 lib := locale-programs
 include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left))
+
+$(objpfx)tst-locale-locpath.out : tst-locale-locpath.sh $(objpfx)locale
+	$(SHELL) $< '$(common-objpfx)' '$(test-wrapper)' '$(test-wrapper-env)' > $@; \
+	$(evaluate-test)