msi/tests: Skip tests for functions that are not available.
This commit is contained in:
parent
e7937f3cd5
commit
ecf8c5af36
|
@ -972,6 +972,12 @@ static void test_MsiSourceListEnumSources(void)
|
|||
HKEY url, net, source;
|
||||
DWORD size;
|
||||
|
||||
if (!pMsiSourceListEnumSourcesA)
|
||||
{
|
||||
skip("MsiSourceListEnumSourcesA is not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
create_test_guid(prodcode, prod_squashed);
|
||||
get_user_sid(&usersid);
|
||||
|
||||
|
@ -1564,6 +1570,12 @@ static void test_MsiSourceListSetInfo(void)
|
|||
LONG res;
|
||||
UINT r;
|
||||
|
||||
if (!pMsiSourceListSetInfoA)
|
||||
{
|
||||
skip("MsiSourceListSetInfoA is not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
create_test_guid(prodcode, prod_squashed);
|
||||
get_user_sid(&usersid);
|
||||
|
||||
|
@ -1964,6 +1976,12 @@ static void test_MsiSourceListAddMediaDisk(void)
|
|||
LONG res;
|
||||
UINT r;
|
||||
|
||||
if (!pMsiSourceListAddMediaDiskA)
|
||||
{
|
||||
skip("MsiSourceListAddMediaDiskA is not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
create_test_guid(prodcode, prod_squashed);
|
||||
get_user_sid(&usersid);
|
||||
|
||||
|
|
Loading…
Reference in New Issue