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

This commit is contained in:
Francois Gouget 2009-02-24 00:04:12 +01:00 committed by Alexandre Julliard
parent 9de60b9c2c
commit b7a6cc3676
4 changed files with 13 additions and 13 deletions

View File

@ -759,14 +759,14 @@ static BOOL init_functionpointers(void)
hmscoree = LoadLibraryA("mscoree.dll");
if (!hmscoree)
{
skip("mscoree.dll not available\n");
win_skip("mscoree.dll not available\n");
return FALSE;
}
pLoadLibraryShim = (void *)GetProcAddress(hmscoree, "LoadLibraryShim");
if (!pLoadLibraryShim)
{
skip("LoadLibraryShim not available\n");
win_skip("LoadLibraryShim not available\n");
FreeLibrary(hmscoree);
return FALSE;
}
@ -774,7 +774,7 @@ static BOOL init_functionpointers(void)
hr = pLoadLibraryShim(szFusion, NULL, NULL, &hfusion);
if (FAILED(hr))
{
skip("fusion.dll not available\n");
win_skip("fusion.dll not available\n");
FreeLibrary(hmscoree);
return FALSE;
}
@ -784,7 +784,7 @@ static BOOL init_functionpointers(void)
if (!pCreateAssemblyCache || !pGetCachePath)
{
skip("fusion.dll not implemented\n");
win_skip("fusion.dll not implemented\n");
return FALSE;
}

View File

@ -52,14 +52,14 @@ static BOOL init_functionpointers(void)
hmscoree = LoadLibraryA("mscoree.dll");
if (!hmscoree)
{
skip("mscoree.dll not available\n");
win_skip("mscoree.dll not available\n");
return FALSE;
}
pLoadLibraryShim = (void *)GetProcAddress(hmscoree, "LoadLibraryShim");
if (!pLoadLibraryShim)
{
skip("LoadLibraryShim not available\n");
win_skip("LoadLibraryShim not available\n");
FreeLibrary(hmscoree);
return FALSE;
}
@ -67,7 +67,7 @@ static BOOL init_functionpointers(void)
hr = pLoadLibraryShim(szFusion, NULL, NULL, &hfusion);
if (FAILED(hr))
{
skip("fusion.dll not available\n");
win_skip("fusion.dll not available\n");
FreeLibrary(hmscoree);
return FALSE;
}
@ -79,7 +79,7 @@ static BOOL init_functionpointers(void)
if (!pCreateAssemblyEnum ||
!pCreateAssemblyNameObject || !pGetCachePath)
{
skip("fusion.dll not implemented\n");
win_skip("fusion.dll not implemented\n");
return FALSE;
}

View File

@ -777,7 +777,7 @@ START_TEST(asmname)
{
if (!init_functionpointers())
{
skip("fusion.dll not available\n");
win_skip("fusion.dll not available\n");
return;
}

View File

@ -48,14 +48,14 @@ static BOOL init_functionpointers(void)
hmscoree = LoadLibraryA("mscoree.dll");
if (!hmscoree)
{
skip("mscoree.dll not available\n");
win_skip("mscoree.dll not available\n");
return FALSE;
}
pLoadLibraryShim = (void *)GetProcAddress(hmscoree, "LoadLibraryShim");
if (!pLoadLibraryShim)
{
skip("LoadLibraryShim not available\n");
win_skip("LoadLibraryShim not available\n");
FreeLibrary(hmscoree);
return FALSE;
}
@ -65,7 +65,7 @@ static BOOL init_functionpointers(void)
hr = pLoadLibraryShim(szFusion, NULL, NULL, &hfusion);
if (FAILED(hr))
{
skip("fusion.dll not available\n");
win_skip("fusion.dll not available\n");
FreeLibrary(hmscoree);
return FALSE;
}
@ -91,7 +91,7 @@ static void test_GetCachePath(void)
if (!pGetCachePath)
{
skip("GetCachePath not implemented\n");
win_skip("GetCachePath not implemented\n");
return;
}