https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2fd3a8f1b5e93689262c8a...
commit 2fd3a8f1b5e93689262c8adf0497393c768c2295 Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Fri Apr 5 13:04:15 2019 +0900 Commit: GitHub noreply@github.com CommitDate: Fri Apr 5 13:04:15 2019 +0900
[KERNEL32_APITEST] Follow up of #1466 (#1469)
Skip tests if the current codepage is not Japanese. CORE-15920 --- modules/rostests/apitests/kernel32/JapaneseCalendar.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/modules/rostests/apitests/kernel32/JapaneseCalendar.c b/modules/rostests/apitests/kernel32/JapaneseCalendar.c index b3f551659c..e01a369f02 100644 --- a/modules/rostests/apitests/kernel32/JapaneseCalendar.c +++ b/modules/rostests/apitests/kernel32/JapaneseCalendar.c @@ -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;