Alexandre Julliard : msi/tests: Skip MsiEnumProductsEx tests if not supported.

Alexandre Julliard julliard at winehq.org
Fri May 4 12:01:18 CDT 2012


Module: wine
Branch: master
Commit: 720a37d77870ae5ba44decb6829fa42d0dbbd65a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=720a37d77870ae5ba44decb6829fa42d0dbbd65a

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May  3 23:31:43 2012 +0200

msi/tests: Skip MsiEnumProductsEx tests if not supported.

---

 dlls/msi/tests/msi.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c
index c0ca658..da6b446 100644
--- a/dlls/msi/tests/msi.c
+++ b/dlls/msi/tests/msi.c
@@ -11823,6 +11823,12 @@ static void test_MsiEnumProductsEx(void)
     REGSAM access = KEY_ALL_ACCESS;
     char *usersid = get_user_sid();
 
+    if (!pMsiEnumProductsExA)
+    {
+        win_skip("MsiEnumProductsExA not implemented\n");
+        return;
+    }
+
     create_test_guid( product0, NULL );
     create_test_guid( product1, product_squashed1 );
     create_test_guid( product2, product_squashed2 );




More information about the wine-cvs mailing list