summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/sdkmingw/testsdk.py
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2024-10-02 16:54:51 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-03 00:14:57 +0100
commit220a8ad605d60247df27d3a66facc89c1854ed10 (patch)
tree4e97134884315e10b0a3a9b67845c180547e3f95 /lib/oeqa/sdkmingw/testsdk.py
parent4e5a23f9e0120e4b993b66077e2bf0ec70bccd3c (diff)
downloadmeta-mingw-220a8ad605d60247df27d3a66facc89c1854ed10.tar.gz
oeqa: Set LANG in wine tests5.2_M1
Glib likes to try and determine the local name using the Windows GetConsoleOutputCP(), which doesn't work well running under wine in our test cases (it seems to be linked to stdin not being a terminal). This results in the error message: GLib-WARNING (recursed) **: Failed to determine console output code page: Invalid access.. Falling back to UTF-8 and then Glib falls back to the locale "UTF-8", which is invalid and the program will likely crash. In particular, pkg-config seems to be sensitive to this on some hosts (e.g. Ubuntu 24.04) Set the LANG variable to a valid language to make sure that this codepath in Glib is not triggered. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/oeqa/sdkmingw/testsdk.py')
0 files changed, 0 insertions, 0 deletions