Commit ecf8c5af authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

msi/tests: Skip tests for functions that are not available.

parent e7937f3c
...@@ -972,6 +972,12 @@ static void test_MsiSourceListEnumSources(void) ...@@ -972,6 +972,12 @@ static void test_MsiSourceListEnumSources(void)
HKEY url, net, source; HKEY url, net, source;
DWORD size; DWORD size;
if (!pMsiSourceListEnumSourcesA)
{
skip("MsiSourceListEnumSourcesA is not available\n");
return;
}
create_test_guid(prodcode, prod_squashed); create_test_guid(prodcode, prod_squashed);
get_user_sid(&usersid); get_user_sid(&usersid);
...@@ -1564,6 +1570,12 @@ static void test_MsiSourceListSetInfo(void) ...@@ -1564,6 +1570,12 @@ static void test_MsiSourceListSetInfo(void)
LONG res; LONG res;
UINT r; UINT r;
if (!pMsiSourceListSetInfoA)
{
skip("MsiSourceListSetInfoA is not available\n");
return;
}
create_test_guid(prodcode, prod_squashed); create_test_guid(prodcode, prod_squashed);
get_user_sid(&usersid); get_user_sid(&usersid);
...@@ -1964,6 +1976,12 @@ static void test_MsiSourceListAddMediaDisk(void) ...@@ -1964,6 +1976,12 @@ static void test_MsiSourceListAddMediaDisk(void)
LONG res; LONG res;
UINT r; UINT r;
if (!pMsiSourceListAddMediaDiskA)
{
skip("MsiSourceListAddMediaDiskA is not available\n");
return;
}
create_test_guid(prodcode, prod_squashed); create_test_guid(prodcode, prod_squashed);
get_user_sid(&usersid); get_user_sid(&usersid);
......
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