diff options
| -rw-r--r-- | lib/oeqa/sdkmingw/context.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/oeqa/sdkmingw/context.py b/lib/oeqa/sdkmingw/context.py index 5319223..5869e57 100644 --- a/lib/oeqa/sdkmingw/context.py +++ b/lib/oeqa/sdkmingw/context.py | |||
| @@ -40,6 +40,12 @@ class OESDKMinGWTestContext(OESDKTestContext): | |||
| 40 | # Convenience variables to make test cases easier to write | 40 | # Convenience variables to make test cases easier to write |
| 41 | env['SDK_DIR'] = getattr(self, 'wine_sdk_dir', '') | 41 | env['SDK_DIR'] = getattr(self, 'wine_sdk_dir', '') |
| 42 | 42 | ||
| 43 | # Set the language. If this is not set to a valid language, then | ||
| 44 | # program that use glib will attempt to determine the language from | ||
| 45 | # stdin, which results in an error, fallback to "UTF-8" which is | ||
| 46 | # invalid and crash | ||
| 47 | env["LANG"] = "C.UTF-8" | ||
| 48 | |||
| 43 | return env | 49 | return env |
| 44 | 50 | ||
| 45 | def wine_path(self, p): | 51 | def wine_path(self, p): |
