Paul Vriens : kernel32/tests: Skip not implemented functions.
Alexandre Julliard
julliard at winehq.org
Thu Jan 10 06:42:08 CST 2008
Module: wine
Branch: master
Commit: e1f88e5f6999262d7556debc55d44441da9b77ea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1f88e5f6999262d7556debc55d44441da9b77ea
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Thu Jan 10 11:05:43 2008 +0100
kernel32/tests: Skip not implemented functions.
---
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 eaf4f7d..78d5386 100644
--- a/dlls/kernel32/tests/time.c
+++ b/dlls/kernel32/tests/time.c
@@ -298,6 +298,12 @@ static void test_GetTimeZoneInformation(void)
utc = st;
SetLastError(0xdeadbeef);
res = pSystemTimeToTzSpecificLocalTime(&tzinfo, &utc, ¤t);
+ if (!res && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
+ {
+ skip("SystemTimeToTzSpecificLocalTime is not implemented\n");
+ return;
+ }
+
ok(res, "SystemTimeToTzSpecificLocalTime error %u\n", GetLastError());
s_time = system_time_to_minutes(¤t);
More information about the wine-cvs
mailing list