kernel32/tests: Skip testing the translated invariant names on non US-English locales.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2017-01-17 10:51:46 +00:00 committed by Alexandre Julliard
parent 17431e2330
commit fdf80ad7d9
1 changed files with 3 additions and 3 deletions

View File

@ -4875,10 +4875,10 @@ static void test_invariant(void)
ptr++;
}
if ((PRIMARYLANGID(LANGIDFROMLCID(GetSystemDefaultLCID())) != LANG_ENGLISH) ||
(PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH))
if ((LANGIDFROMLCID(GetSystemDefaultLCID()) != MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US)) ||
(LANGIDFROMLCID(GetThreadLocale()) != MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US)))
{
skip("Non-English locale\n");
skip("Non US-English locale\n");
}
else
{