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: c9434956d5b098df19a133dcc9022ce97fc86447
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9434956d5b098df19a133dcc9022ce97fc86447
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Thu Jan 10 11:05:35 2008 +0100
kernel32/tests: Skip not implemented functions.
---
dlls/kernel32/tests/path.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/path.c b/dlls/kernel32/tests/path.c
index 4de58c2..05111a8 100644
--- a/dlls/kernel32/tests/path.c
+++ b/dlls/kernel32/tests/path.c
@@ -972,7 +972,14 @@ static void test_GetShortPathNameW(void)
WCHAR name[] = { 't', 'e', 's', 't', 0 };
WCHAR backSlash[] = { '\\', 0 };
+ SetLastError(0xdeadbeef);
GetTempPathW( MAX_PATH, path );
+ if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
+ {
+ skip("GetTempPathW is not implemented\n");
+ return;
+ }
+
lstrcatW( path, test_path );
lstrcatW( path, backSlash );
ret = CreateDirectoryW( path, NULL );
More information about the wine-cvs
mailing list