Module: wine Branch: master Commit: 9472e044472045528b356cbbcaa6ce6239a19835 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9472e044472045528b356cbbca...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Tue Jul 31 17:48:26 2007 +0900
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;