Francois Gouget : oleaut32/tests: Use win_skip() when detecting an API is missing.
Alexandre Julliard
julliard at winehq.org
Mon Jan 9 14:24:29 CST 2012
Module: wine
Branch: master
Commit: 559cdbfc7c8b1a88771d7e2149446086b5c60e1f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=559cdbfc7c8b1a88771d7e2149446086b5c60e1f
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Jan 9 09:57:30 2012 +0100
oleaut32/tests: Use win_skip() when detecting an API is missing.
---
dlls/oleaut32/tests/varformat.c | 2 +-
dlls/oleaut32/tests/vartest.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/tests/varformat.c b/dlls/oleaut32/tests/varformat.c
index d520137..398bcf5 100644
--- a/dlls/oleaut32/tests/varformat.c
+++ b/dlls/oleaut32/tests/varformat.c
@@ -51,7 +51,7 @@ static HRESULT (WINAPI *pVarWeekdayName)(int,int,int,ULONG,BSTR*);
/* 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; }
+ if (!p##func) { win_skip("function " # func " not available, not testing it\n"); return; }
static inline int strcmpW( const WCHAR *str1, const WCHAR *str2 )
{
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 7a6394a..393caf5 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -55,7 +55,7 @@ static WCHAR sz12_true[32];
/* 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; }
+ if (!p##func) { win_skip("function " # func " not available, not testing it\n"); return; }
/* Have IRecordInfo data type? */
static int HAVE_OLEAUT32_RECORD = 0;
More information about the wine-cvs
mailing list