aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-09 20:05:16 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-09 20:05:16 +0200
commit4789e39a8e5e1245617a559eddd23b66400f4b34 (patch)
treef5c5d955de59a02ac75fc91f8e12e0e64e237d4c /tests
parentafb86d824db771586876078e8844049e451b283d (diff)
downloadsciteco-4789e39a8e5e1245617a559eddd23b66400f4b34.tar.gz
testsuite: try different locale on Mac OS (refs #5)
hopefully fixes the Unicode test cases on Mac OS
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 47137bb..e9bb908 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -16,4 +16,12 @@ G_ENABLE_DIAGNOSTIC=1
# For the Unicode tests - makes sure that UTF-8 characters
# are accepted on command lines.
-LC_ALL=C.UTF-8
+case $host in
+*-*-darwin*)
+ LANG=C
+ LC_CTYPE=UTF-8
+ ;;
+*)
+ LC_ALL=C.UTF-8
+ ;;
+esac