shell32/tests: Don't test unimplemented functions.

This commit is contained in:
Paul Vriens 2008-09-01 16:03:44 +02:00 committed by Alexandre Julliard
parent c559895ce9
commit 4732f48fbc
1 changed files with 5 additions and 0 deletions

View File

@ -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;