Commit c0bd0605 authored by Martin Pitt's avatar Martin Pitt
Browse files

tests: Force UTF-8 file name encoding

The test_gi.TestFilename tests fail if the environment specifies a non-UTF8
file name encoding. Force it to "UTF-8" for the tests.
parent c02a00ae
......@@ -59,6 +59,7 @@ os.environ['G_DEBUG'] = 'fatal-warnings fatal-criticals'
# first.
os.environ['GSETTINGS_BACKEND'] = 'memory'
os.environ['GSETTINGS_SCHEMA_DIR'] = tests_builddir
os.environ['G_FILENAME_ENCODING'] = 'UTF-8'
# Load tests.
if 'TEST_NAMES' in os.environ:
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