From 4732f48fbc3c1e0827a1e09e0bac47079fe4a34a Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Mon, 1 Sep 2008 16:03:44 +0200 Subject: [PATCH] shell32/tests: Don't test unimplemented functions. --- dlls/shell32/tests/shlfolder.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c index 9bb7208d626..a5fff49bbbf 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;