Commit 576a7441 authored by Ben Cooksley's avatar Ben Cooksley

Ensure CI tests execute in a UTF-8 environment on Linux and FreeBSD.

Windows and macOS presumably have their own mechanisms for this, so we'll leave those alone

Ref T9249
parent d77ed16c
......@@ -60,6 +60,10 @@ def generateFor( installPrefix ):
if sys.platform != 'win32' and not os.path.exists('/usr/bin/qmake-qt4'):
clonedEnv['QT_SELECT'] = 'qt5'
# If this is a Linux/FreeBSD system, making sure we're going to have a UTF-8 environment
if sys.platform == 'linux' or sys.platform == 'freebsd11':
clonedEnv['LANG'] = 'en_US.UTF-8'
# Mark ourselves as a KDE session, for things like the platform plugin, etc.
clonedEnv['XDG_CURRENT_DESKTOP'] = 'KDE'
# Make sure ASAN doesn't get in the way
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment