diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 20:05:16 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 20:05:16 +0200 |
commit | 4789e39a8e5e1245617a559eddd23b66400f4b34 (patch) | |
tree | f5c5d955de59a02ac75fc91f8e12e0e64e237d4c /tests | |
parent | afb86d824db771586876078e8844049e451b283d (diff) | |
download | sciteco-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.in | 10 |
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 |