From 4789e39a8e5e1245617a559eddd23b66400f4b34 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 9 Sep 2024 20:05:16 +0200 Subject: testsuite: try different locale on Mac OS (refs #5) hopefully fixes the Unicode test cases on Mac OS --- tests/atlocal.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3