This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Build en_US.UTF-8 locale for testing
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 31 Oct 2012 20:58:57 +0000
- Subject: Build en_US.UTF-8 locale for testing
The testcase posix/bug-regex26.c uses the en_US.UTF-8 locale. All
locales used by tests need to be listed in LOCALES in
localedata/Makefile to ensure they are available when tests are run.
This patch adds this locale to the list there. (An alternative fix
would be to change the locale used in the testcase to one on that
list.)
Tested x86.
localedata/ChangeLog:
2012-10-31 Joseph Myers <joseph@codesourcery.com>
* Makefile [$(run-built-tests) = yes] (LOCALES): Add en_US.UTF-8.
diff --git a/localedata/Makefile b/localedata/Makefile
index d1b277e..9501a79 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -116,7 +116,7 @@ CFLAGS-tst-trans.c = -Wno-format
ifeq ($(run-built-tests),yes)
# We have to generate locales
LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 \
- en_US.ISO-8859-1 ja_JP.EUC-JP da_DK.ISO-8859-1 \
+ en_US.ISO-8859-1 en_US.UTF-8 ja_JP.EUC-JP da_DK.ISO-8859-1 \
hr_HR.ISO-8859-2 sv_SE.ISO-8859-1 ja_JP.SJIS fr_FR.ISO-8859-1 \
nb_NO.ISO-8859-1 nn_NO.ISO-8859-1 tr_TR.UTF-8 cs_CZ.UTF-8 \
zh_TW.EUC-TW fa_IR.UTF-8 fr_FR.UTF-8 ja_JP.UTF-8 si_LK.UTF-8 \
--
Joseph S. Myers
joseph@codesourcery.com