[Bug 51410] New: mlang:mlang fails on the Hindi test configuration

WineHQ Bugzilla wine-bugs at winehq.org
Mon Jul 5 20:08:45 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51410

            Bug ID: 51410
           Summary: mlang:mlang fails on the Hindi test configuration
           Product: Wine
           Version: 6.10
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mlang
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

Created attachment 70266
  --> https://bugs.winehq.org/attachment.cgi?id=70266
mlang/tests: Fix the check for non-English locales in test_GetCodePageInfo().

mlang:mlang fails on the Hindi test configuration:

https://test.winehq.org/data/patterns.html#mlang:mlang

The 36 systematic failures all happen on lines 2572 to 2580 in
test_GetCodePageInfo(). For instance:

mlang.c:2572: Test failed: 9: got wrong wszDescription expected L"Baltic
(Windows)" return L"\092c\093e\0932\094d\091f\093f\0915 (Windows)".
mlang.c:2576: Test failed: 9: got wrong wszFixedWidthFont expected L"Courier
New" return L"Nirmala UI".
mlang.c:2580: Test failed: 9: got wrong wszProportionalFont expected L"Arial"
return L"Nirmala UI".

These checks are meant to be skipped on non-English locales but the test checks
the wrong Windows locale and gets confused because the Hindi test configuration
still has some English locales (notably the system locale, see WineTest's
locale information dump).

The attached patch should fix this.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list