shlwapi[3/4]: tests: disable the StrFromTimeInterval tests as they are language-dependent

Mikołaj Zalewski mikolaj at zalewski.pl
Sun Oct 22 12:52:41 CDT 2006


This test depends on the language version of Windows (AFAIK the 
resources in shlwapi are provided only in one language) and causes lots 
of failures in http://test.winehq.org/data . The langauge of Windows 
doesn't need to match the system nor user locale - I don't know how to 
detect it and how it would work on MUI versions of Windows so this patch 
disables the test.
-------------- next part --------------
diff --git a/dlls/shlwapi/tests/string.c b/dlls/shlwapi/tests/string.c
index 802811d..7302bd5 100644
--- a/dlls/shlwapi/tests/string.c
+++ b/dlls/shlwapi/tests/string.c
@@ -750,7 +750,11 @@ START_TEST(string)
     test_StrFormatKBSizeA();
     test_StrFormatKBSizeW();
   }
-  test_StrFromTimeIntervalA();
+  if (0)
+  {
+    /* language-depenent test. FIXME: how to detect the language? */
+    test_StrFromTimeIntervalA();
+  }
   test_StrCmpA();
   test_StrCmpW();
   test_StrRetToBSTR();
-- 
1.4.2.3


More information about the wine-patches mailing list