[KERNEL32_APITEST] Follow up of #1466 (#1469)

Skip tests if the current codepage is not Japanese. CORE-15920
This commit is contained in:
Katayama Hirofumi MZ 2019-04-05 13:04:15 +09:00 committed by GitHub
parent eb8d1d929f
commit 2fd3a8f1b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,12 @@ START_TEST(JapaneseCalendar)
trace("lcid: 0x%08lX\n", lcid);
trace("langid: 0x%04lX\n", langid);
if (GetACP() != 932)
{
skip("Codepage is not Japanese.\n");
return;
}
ZeroMemory(&st, sizeof(st));
st.wYear = 2019;
st.wMonth = 4;