Module: wine Branch: master Commit: 7e0b9301825841c87777832de362d0601e4ba74c URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e0b9301825841c87777832de3...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Wed Nov 12 17:30:22 2008 +0100
crypt32/tests: Skip some tests if needed.
---
dlls/crypt32/tests/main.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/tests/main.c b/dlls/crypt32/tests/main.c index 7a7d458..b1e53b1 100644 --- a/dlls/crypt32/tests/main.c +++ b/dlls/crypt32/tests/main.c @@ -416,6 +416,11 @@ static void test_format_object(void) ok(ret, "CryptFormatObject failed: %d\n", GetLastError()); if (ret) { + if (size == 0 && GetLastError() == ERROR_FILE_NOT_FOUND) + { + win_skip("CryptFormatObject has no default implementation\n"); + return; + } ok(size == sizeof(WCHAR), "unexpected size %d\n", size); str = HeapAlloc(GetProcessHeap(), 0, size); SetLastError(0xdeadbeef);