Paul Vriens : mapi32/tests: Don't run tests if ScInitMapiUtil() fails.
Alexandre Julliard
julliard at winehq.org
Fri Jun 19 08:27:15 CDT 2009
Module: wine
Branch: master
Commit: 9a9c2ea2681f3085e24636355f9341135d19e7fc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a9c2ea2681f3085e24636355f9341135d19e7fc
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Jun 19 12:30:40 2009 +0200
mapi32/tests: Don't run tests if ScInitMapiUtil() fails.
---
dlls/mapi32/tests/imalloc.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/mapi32/tests/imalloc.c b/dlls/mapi32/tests/imalloc.c
index 9ce94b0..ec7557b 100644
--- a/dlls/mapi32/tests/imalloc.c
+++ b/dlls/mapi32/tests/imalloc.c
@@ -106,6 +106,12 @@ START_TEST(imalloc)
FreeLibrary(hMapi32);
return;
}
+ else if ((ret == E_FAIL) && (GetLastError() == ERROR_INVALID_HANDLE))
+ {
+ win_skip("ScInitMapiUtil doesn't work on some Win98 and WinME systems\n");
+ FreeLibrary(hMapi32);
+ return;
+ }
test_IMalloc();
More information about the wine-cvs
mailing list