kernel32: Skip remainder of the time zone test if
SystemTimeToTzSpecificLocalTime not present
Dmitry Timoshkov
dmitry at codeweavers.com
Tue Jul 31 03:48:26 CDT 2007
Hello,
Changelog:
kernel32: Skip remainder of the time zone test if SystemTimeToTzSpecificLocalTime not present
---
dlls/kernel32/tests/time.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/time.c b/dlls/kernel32/tests/time.c
index 5bdb5a0..6bf79ed 100644
--- a/dlls/kernel32/tests/time.c
+++ b/dlls/kernel32/tests/time.c
@@ -277,6 +277,12 @@ static void test_GetTimeZoneInformation(void)
ok(SetEnvironmentVariableA("TZ",NULL) != 0,
"SetEnvironmentVariableA failed\n");
+ if (!pSystemTimeToTzSpecificLocalTime)
+ {
+ skip("SystemTimeToTzSpecificLocalTime not present\n");
+ return;
+ }
+
diff = get_tz_bias(&tzinfo, tz_id);
utc = st;
--
1.5.2.3
More information about the wine-patches
mailing list