fusion/tests: Use win_skip() to skip over unimplemented functionality.
This commit is contained in:
parent
9de60b9c2c
commit
b7a6cc3676
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -777,7 +777,7 @@ START_TEST(asmname)
|
|||
{
|
||||
if (!init_functionpointers())
|
||||
{
|
||||
skip("fusion.dll not available\n");
|
||||
win_skip("fusion.dll not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue