summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/properties/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/properties/run.py')
-rwxr-xr-xcpp/test/Ice/properties/run.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/test/Ice/properties/run.py b/cpp/test/Ice/properties/run.py
index e50cca27fe7..3a4d9e21d24 100755
--- a/cpp/test/Ice/properties/run.py
+++ b/cpp/test/Ice/properties/run.py
@@ -9,7 +9,7 @@
#
# **********************************************************************
-import os, sys
+import os, sys, locale
path = [ ".", "..", "../..", "../../..", "../../../..", "../../../../.." ]
head = os.path.dirname(sys.argv[0])
@@ -23,6 +23,13 @@ import TestUtil
client = os.path.join(os.getcwd(), "client")
+if TestUtil.isAIX():
+ encoding = locale.getdefaultlocale()[1]
+ if encoding != "UTF-8":
+ print("Please set LC_ALL to xx_xx.UTF-8, for example FR_FR.UTF-8")
+ print("Skipping test")
+ sys.exit(0)
+
#
# Write config
#