Paul Vriens : shell32/tests: Don't test unimplemented functions.
Alexandre Julliard
julliard at winehq.org
Tue Sep 2 08:33:13 CDT 2008
Module: wine
Branch: master
Commit: 4732f48fbc3c1e0827a1e09e0bac47079fe4a34a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4732f48fbc3c1e0827a1e09e0bac47079fe4a34a
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Mon Sep 1 16:03:44 2008 +0200
shell32/tests: Don't test unimplemented functions.
---
dlls/shell32/tests/shlfolder.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 9bb7208..a5fff49 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -1271,7 +1271,12 @@ static void test_ITEMIDLIST_format(void) {
ok(bResult, "SHGetSpecialFolderPathW failed! Last error: %u\n", GetLastError());
if (!bResult) return;
+ SetLastError(0xdeadbeef);
bResult = SetCurrentDirectoryW(wszPersonal);
+ if (!bResult && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) {
+ win_skip("Most W-calls are not implemented\n");
+ return;
+ }
ok(bResult, "SetCurrentDirectory failed! Last error: %u\n", GetLastError());
if (!bResult) return;
More information about the wine-cvs
mailing list