summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-09-01 19:34:05 +0200
committerBruno Haible <bruno@clisp.org>2019-09-01 19:34:05 +0200
commit4eb94fbedd0ad67102bd24c7660212723f4be88a (patch)
treeee165e189ef7e0512079dbd7bb4f5d7524a178b7 /HACKING
parent73307a2226cf2d78b71a58f6bee2cfe450e9b5e2 (diff)
downloadlibunistring-4eb94fbedd0ad67102bd24c7660212723f4be88a.tar.gz
build: Explain how to avoid skipped tests.
* HACKING: Explain which locales to install, to avoid skipped tests.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING14
1 files changed, 14 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 1db20b6..3c58cd2 100644
--- a/HACKING
+++ b/HACKING
@@ -49,6 +49,20 @@ You will need reasonably recent versions of the build tools:
And, of course, the packages listed in the DEPENDENCIES file.
+Additional requirements for maintainers
+---------------------------------------
+
+If you are a maintainer, you will want to minimize the number of tests that
+are skipped. To this effect, you need to install a couple of locales, used by
+the tests. By default, only those enabled in /etc/locale.gen are preinstalled.
+
+$ sudo localedef -i ar_SA -f ISO-8859-6 ar_SA.ISO-8859-6
+$ sudo localedef -i fr_FR -f ISO-8859-1 fr_FR.ISO-8859-1
+$ sudo localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
+$ sudo localedef -i ja_JP -f EUC-JP ja_JP.EUC-JP
+$ sudo localedef -i zh_CN -f GB18030 zh_CN.GB18030
+
+
Building off the Git repository
===============================