Module: wine Branch: master Commit: ecf8c5af3672aeb2613113b5982f545f4fe28e41 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ecf8c5af3672aeb2613113b598...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Tue Feb 26 13:52:41 2008 +0100
msi/tests: Skip tests for functions that are not available.
---
dlls/msi/tests/source.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/source.c b/dlls/msi/tests/source.c index f4f1f6d..ab8e8c7 100644 --- a/dlls/msi/tests/source.c +++ b/dlls/msi/tests/source.c @@ -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);