[Bug 51411] New: Add a mixed locale Windows test configuration.

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


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

            Bug ID: 51411
           Summary: Add a mixed locale Windows test configuration.
           Product: Wine-Testbot
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: unknown
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

The TestBot's locale test configurations usually have a matching set of locales
for SystemDefaultLCID, USystemPreferredUILanguages, UserDefaultUILanguage and
ThreadUILanguage. For instance for French we have:

SystemDefaultLCID    040c
UserDefaultLCID    0409
ThreadLocale    0409
SystemPreferredUILanguages    040C,0409
UserDefaultUILanguage    040c
ThreadUILanguage    040c

As a result tests can substitute GetSystemDefaultLCID() for
GetThreadUILanguage() and get away with it. In turn this allows Wine to
substitute these too without causing the tests to fail (see for instance
mlang:mlang, bug 51410).
To avoid this the TestBot needs a test configuration where all the important
locale settings are different so these issues are detected immediately.

-- 
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