Paul Vriens : kernel32/tests: Skip not implemented functions.
Alexandre Julliard
julliard at winehq.org
Thu Jan 10 06:42:07 CST 2008
Module: wine
Branch: master
Commit: 7b7838289f4a2581bef8bb04e9473b065db1d9c4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b7838289f4a2581bef8bb04e9473b065db1d9c4
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Thu Jan 10 11:05:26 2008 +0100
kernel32/tests: Skip not implemented functions.
---
dlls/kernel32/tests/format_msg.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/format_msg.c b/dlls/kernel32/tests/format_msg.c
index e7b012c..23b0a09 100644
--- a/dlls/kernel32/tests/format_msg.c
+++ b/dlls/kernel32/tests/format_msg.c
@@ -233,6 +233,12 @@ static void test_message_null_buffer(void)
SetLastError(0xdeadbeef);
ret = FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL, 0, 0, NULL, 0, NULL);
error = GetLastError();
+ if (!ret && error == ERROR_CALL_NOT_IMPLEMENTED)
+ {
+ skip("FormatMessageW is not implemented\n");
+ return;
+ }
+
ok(!ret, "FormatMessageW returned %u\n", ret);
ok(error == ERROR_INVALID_PARAMETER, "last error %u\n", error);
}
More information about the wine-cvs
mailing list