Module: wine
Branch: master
Commit: 7c0f0abe153b41e4baaf4dd7ae94b10b2632c5eb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c0f0abe153b41e4baaf4dd7a…
Author: Paul Vriens <paul.vriens.wine(a)gmail.com>
Date: Fri Aug 17 14:21:09 2007 +0200
oleaut32/tests: Add a few skip's to the vartype tests.
---
dlls/oleaut32/tests/vartype.c | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 49106ff..4558d82 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -46,7 +46,7 @@ static HMODULE hOleaut32;
/* Get a conversion function ptr, return if function not available */
#define CHECKPTR(func) p##func = (void*)GetProcAddress(hOleaut32, #func); \
if (!p##func) { \
- trace("function " # func " not available, not testing it\n"); return; }
+ skip("function " # func " not available, not testing it\n"); return; }
/* Is a given function exported from oleaut32? */
#define HAVE_FUNC(func) ((void*)GetProcAddress(hOleaut32, #func) != NULL)
@@ -2347,7 +2347,10 @@ static void test_VarI8Copy(void)
LONGLONG in = 1;
if (!HAVE_OLEAUT32_I8)
+ {
+ skip("I8 and UI8 data types are not available\n");
return;
+ }
VariantInit(&vSrc);
VariantInit(&vDst);
@@ -2374,7 +2377,10 @@ static void test_VarI8ChangeTypeEx(void)
VARIANTARG vSrc, vDst;
if (!HAVE_OLEAUT32_I8)
+ {
+ skip("I8 and UI8 data types are not available\n");
return;
+ }
in = 1;
@@ -2603,7 +2609,10 @@ static void test_VarUI8Copy(void)
ULONGLONG in = 1;
if (!HAVE_OLEAUT32_I8)
+ {
+ skip("I8 and UI8 data types are not available\n");
return;
+ }
VariantInit(&vSrc);
VariantInit(&vDst);
@@ -2630,7 +2639,10 @@ static void test_VarUI8ChangeTypeEx(void)
VARIANTARG vSrc, vDst;
if (!HAVE_OLEAUT32_I8)
+ {
+ skip("I8 and UI8 data types are not available\n");
return;
+ }
in = 1;