Commit 6b37543a authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

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

parent ecf8c5af
...@@ -2022,6 +2022,12 @@ static void test_publish(void) ...@@ -2022,6 +2022,12 @@ static void test_publish(void)
static const CHAR subkey[] = "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall"; static const CHAR subkey[] = "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall";
if (!pMsiQueryComponentStateA)
{
skip("MsiQueryComponentStateA is not available\n");
return;
}
get_date_str(date); get_date_str(date);
GetTempPath(MAX_PATH, temp); GetTempPath(MAX_PATH, temp);
...@@ -2904,6 +2910,12 @@ static void test_publishsourcelist(void) ...@@ -2904,6 +2910,12 @@ static void test_publishsourcelist(void)
CHAR path[MAX_PATH]; CHAR path[MAX_PATH];
CHAR prodcode[] = "{7DF88A48-996F-4EC8-A022-BF956F9B2CBB}"; CHAR prodcode[] = "{7DF88A48-996F-4EC8-A022-BF956F9B2CBB}";
if (!pMsiSourceListEnumSourcesA || !pMsiSourceListGetInfoA)
{
skip("MsiSourceListEnumSourcesA and/or MsiSourceListGetInfoA are not available\n");
return;
}
CreateDirectoryA("msitest", NULL); CreateDirectoryA("msitest", NULL);
create_file("msitest\\maximus", 500); create_file("msitest\\maximus", 500);
......
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