Paul Vriens : oleaut32/tests: Skip a test on win9x.

Alexandre Julliard julliard at winehq.org
Thu Apr 24 06:24:12 CDT 2008


Module: wine
Branch: master
Commit: 27fd7c1b3c0303d4502ca93ca9deb83a12af9b59
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=27fd7c1b3c0303d4502ca93ca9deb83a12af9b59

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Thu Apr 24 12:05:58 2008 +0200

oleaut32/tests: Skip a test on win9x.

---

 dlls/oleaut32/tests/varformat.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/tests/varformat.c b/dlls/oleaut32/tests/varformat.c
index 399aeb7..2b60c96 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)
   {




More information about the wine-cvs mailing list