aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/atlocal.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/atlocal.in')
-rw-r--r--tests/atlocal.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 090a604..061937a 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -13,3 +13,19 @@ SCITECOPATH=@abs_top_srcdir@/lib
# Glib debug options
G_SLICE=debug-blocks
G_ENABLE_DIAGNOSTIC=1
+
+# For the Unicode tests - makes sure that UTF-8 characters
+# are accepted on command lines.
+case $host in
+*-*-darwin*)
+ LC_ALL=`defaults read -g AppleLocale | @SED@ 's/@.*$//g'`.UTF-8
+ ;;
+*)
+ LC_ALL=C.UTF-8
+ ;;
+esac
+
+# Default stack size on Linux (8M).
+# Some platforms allow very large stack sizes, making it hard to test
+# against potential stack overflows.
+ulimit -s 8192