From 5352d102a786fa2070d3b77ed8e319a7dd354ffd Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 28 Feb 2016 22:55:32 +0000 Subject: [PATCH] [INCLUDE/WINE] Update test.h. CORE-10912 svn path=/trunk/; revision=70805 --- reactos/include/reactos/wine/test.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/reactos/include/reactos/wine/test.h b/reactos/include/reactos/wine/test.h index cbe394d7ffe..0acd10edcfd 100644 --- a/reactos/include/reactos/wine/test.h +++ b/reactos/include/reactos/wine/test.h @@ -110,14 +110,14 @@ extern int winetest_vok( int condition, const char *msg, __winetest_va_list ap ) extern void winetest_vskip( const char *msg, __winetest_va_list ap ); #ifdef __GNUC__ - +# define WINETEST_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args))) extern void __winetest_cdecl winetest_ok( int condition, const char *msg, ... ) __attribute__((format (printf,2,3) )); extern void __winetest_cdecl winetest_skip( const char *msg, ... ) __attribute__((format (printf,1,2))); extern void __winetest_cdecl winetest_win_skip( const char *msg, ... ) __attribute__((format (printf,1,2))); extern void __winetest_cdecl winetest_trace( const char *msg, ... ) __attribute__((format (printf,1,2))); #else /* __GNUC__ */ - +# define WINETEST_PRINTF_ATTR(fmt,args) extern void __winetest_cdecl winetest_ok( int condition, const char *msg, ... ); extern void __winetest_cdecl winetest_skip( const char *msg, ... ); extern void __winetest_cdecl winetest_win_skip( const char *msg, ... ); @@ -146,6 +146,16 @@ extern void __winetest_cdecl winetest_trace( const char *msg, ... ); #define todo_wine todo("wine") #endif +#ifdef USE_WINE_TODOS +#define todo_wine_if(is_todo) \ + if ((is_todo) && (!strcmp(winetest_platform, "reactos"))) \ + todo(winetest_platform) +#else +#define todo_wine_if(is_todo) \ + if ((is_todo) && (!strcmp(winetest_platform, "wine"))) \ + todo(winetest_platform) +#endif + #ifdef NONAMELESSUNION # define U(x) (x).u -- 2.17.1