Paul Vriens : oleaut32/tests: Skip VarAnd tests if there is no I8 and/ or UI8 support.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 20 07:42:35 CDT 2007


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Fri Aug 17 15:53:50 2007 +0200

oleaut32/tests: Skip VarAnd tests if there is no I8 and/or UI8 support.

---

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

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 756c477..9051986 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -5470,6 +5470,12 @@ static void test_VarAnd(void)
                 BOOL bFail = FALSE;
                 SKIPTESTAND(rightvt);
 
+                /* Check if we need/have support for I8 and/or UI8 */
+                if ((leftvt == VT_I8 || leftvt == VT_UI8 ||
+                    rightvt == VT_I8 || rightvt == VT_UI8) &&
+                    !HAVE_OLEAUT32_I8)
+                    continue;
+
                 memset(&left, 0, sizeof(left));
                 memset(&right, 0, sizeof(right));
                 V_VT(&left) = leftvt | ExtraFlags[i];




More information about the wine-cvs mailing list