From 27fd7c1b3c0303d4502ca93ca9deb83a12af9b59 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Thu, 24 Apr 2008 12:05:58 +0200 Subject: [PATCH] oleaut32/tests: Skip a test on win9x. --- dlls/oleaut32/tests/varformat.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dlls/oleaut32/tests/varformat.c b/dlls/oleaut32/tests/varformat.c index 399aeb7b851..2b60c96820a 100644 --- a/dlls/oleaut32/tests/varformat.c +++ b/dlls/oleaut32/tests/varformat.c @@ -431,6 +431,14 @@ static void test_VarWeekdayName(void) CHECKPTR(VarWeekdayName); + SetLastError(0xdeadbeef); + GetLocaleInfoW(LOCALE_USER_DEFAULT, 0, NULL, 0); + if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) + { + skip("GetLocaleInfoW is not implemented\n"); + return; + } + /* Initialize days' names */ for (day = 0; day <= 6; ++day) {