mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
Skip tests if the current codepage is not Japanese. CORE-15920
This commit is contained in:
parent
eb8d1d929f
commit
2fd3a8f1b5
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ START_TEST(JapaneseCalendar)
|
||||||
trace("lcid: 0x%08lX\n", lcid);
|
trace("lcid: 0x%08lX\n", lcid);
|
||||||
trace("langid: 0x%04lX\n", langid);
|
trace("langid: 0x%04lX\n", langid);
|
||||||
|
|
||||||
|
if (GetACP() != 932)
|
||||||
|
{
|
||||||
|
skip("Codepage is not Japanese.\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ZeroMemory(&st, sizeof(st));
|
ZeroMemory(&st, sizeof(st));
|
||||||
st.wYear = 2019;
|
st.wYear = 2019;
|
||||||
st.wMonth = 4;
|
st.wMonth = 4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue