Commit 323b6165 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

mapi32/tests: Use win_skip() to skip over unimplemented functionality.

parent 33dd39c4
...@@ -93,7 +93,7 @@ START_TEST(imalloc) ...@@ -93,7 +93,7 @@ START_TEST(imalloc)
pScInitMapiUtil = (void*)GetProcAddress(hMapi32, "ScInitMapiUtil@4"); pScInitMapiUtil = (void*)GetProcAddress(hMapi32, "ScInitMapiUtil@4");
if (!pScInitMapiUtil) if (!pScInitMapiUtil)
{ {
skip("ScInitMapiUtil is not available\n"); win_skip("ScInitMapiUtil is not available\n");
FreeLibrary(hMapi32); FreeLibrary(hMapi32);
return; return;
} }
...@@ -102,7 +102,7 @@ START_TEST(imalloc) ...@@ -102,7 +102,7 @@ START_TEST(imalloc)
ret = pScInitMapiUtil(0); ret = pScInitMapiUtil(0);
if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND)) if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND))
{ {
skip("ScInitMapiUtil is not implemented\n"); win_skip("ScInitMapiUtil is not implemented\n");
FreeLibrary(hMapi32); FreeLibrary(hMapi32);
return; return;
} }
......
...@@ -1362,7 +1362,7 @@ START_TEST(prop) ...@@ -1362,7 +1362,7 @@ START_TEST(prop)
if(!InitFuncPtrs()) if(!InitFuncPtrs())
{ {
skip("Needed functions are not available\n"); win_skip("Needed functions are not available\n");
return; return;
} }
...@@ -1370,7 +1370,7 @@ START_TEST(prop) ...@@ -1370,7 +1370,7 @@ START_TEST(prop)
ret = pScInitMapiUtil(0); ret = pScInitMapiUtil(0);
if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND)) if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND))
{ {
skip("ScInitMapiUtil is not implemented\n"); win_skip("ScInitMapiUtil is not implemented\n");
FreeLibrary(hMapi32); FreeLibrary(hMapi32);
return; return;
} }
......
...@@ -180,7 +180,7 @@ START_TEST(util) ...@@ -180,7 +180,7 @@ START_TEST(util)
if (!pScInitMapiUtil) if (!pScInitMapiUtil)
{ {
skip("ScInitMapiUtil is not available\n"); win_skip("ScInitMapiUtil is not available\n");
FreeLibrary(hMapi32); FreeLibrary(hMapi32);
return; return;
} }
...@@ -189,7 +189,7 @@ START_TEST(util) ...@@ -189,7 +189,7 @@ START_TEST(util)
ret = pScInitMapiUtil(0); ret = pScInitMapiUtil(0);
if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND)) if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND))
{ {
skip("ScInitMapiUtil is not implemented\n"); win_skip("ScInitMapiUtil is not implemented\n");
FreeLibrary(hMapi32); FreeLibrary(hMapi32);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment