mapi32/tests: Use win_skip() to skip over unimplemented functionality.
This commit is contained in:
parent
33dd39c4d0
commit
323b616532
|
@ -93,7 +93,7 @@ START_TEST(imalloc)
|
|||
pScInitMapiUtil = (void*)GetProcAddress(hMapi32, "ScInitMapiUtil@4");
|
||||
if (!pScInitMapiUtil)
|
||||
{
|
||||
skip("ScInitMapiUtil is not available\n");
|
||||
win_skip("ScInitMapiUtil is not available\n");
|
||||
FreeLibrary(hMapi32);
|
||||
return;
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ START_TEST(imalloc)
|
|||
ret = pScInitMapiUtil(0);
|
||||
if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND))
|
||||
{
|
||||
skip("ScInitMapiUtil is not implemented\n");
|
||||
win_skip("ScInitMapiUtil is not implemented\n");
|
||||
FreeLibrary(hMapi32);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1362,7 +1362,7 @@ START_TEST(prop)
|
|||
|
||||
if(!InitFuncPtrs())
|
||||
{
|
||||
skip("Needed functions are not available\n");
|
||||
win_skip("Needed functions are not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1370,7 +1370,7 @@ START_TEST(prop)
|
|||
ret = pScInitMapiUtil(0);
|
||||
if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND))
|
||||
{
|
||||
skip("ScInitMapiUtil is not implemented\n");
|
||||
win_skip("ScInitMapiUtil is not implemented\n");
|
||||
FreeLibrary(hMapi32);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -180,7 +180,7 @@ START_TEST(util)
|
|||
|
||||
if (!pScInitMapiUtil)
|
||||
{
|
||||
skip("ScInitMapiUtil is not available\n");
|
||||
win_skip("ScInitMapiUtil is not available\n");
|
||||
FreeLibrary(hMapi32);
|
||||
return;
|
||||
}
|
||||
|
@ -189,7 +189,7 @@ START_TEST(util)
|
|||
ret = pScInitMapiUtil(0);
|
||||
if ((ret != S_OK) && (GetLastError() == ERROR_PROC_NOT_FOUND))
|
||||
{
|
||||
skip("ScInitMapiUtil is not implemented\n");
|
||||
win_skip("ScInitMapiUtil is not implemented\n");
|
||||
FreeLibrary(hMapi32);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue