build: Run tests under C locale

This allows us to check for strings that contain translations.
We could also force a locale (see phosh's screenshot tests) at
a later point.
This commit is contained in:
Guido Günther
2022-12-21 19:13:25 +01:00
committed by Evangelos Ribeiro Tzaras
parent b880ddf1d7
commit 9f68e242fd

View File

@@ -3,6 +3,8 @@ if get_option('tests')
test_env = [
'G_DEBUG=gc-friendly,fatal-warnings',
'GSETTINGS_BACKEND=memory',
'LANGUAGE=C',
'LC_ALL=C',
'PYTHONDONTWRITEBYTECODE=yes',
'MALLOC_CHECK_=2',
'NO_AT_BRIDGE=1',