Author: akhaldi
Date: Sun Feb 28 22:55:32 2016
New Revision: 70805
URL:
http://svn.reactos.org/svn/reactos?rev=70805&view=rev
Log:
[INCLUDE/WINE] Update test.h. CORE-10912
Modified:
trunk/reactos/include/reactos/wine/test.h
Modified: trunk/reactos/include/reactos/wine/test.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/test.…
==============================================================================
--- trunk/reactos/include/reactos/wine/test.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/test.h [iso-8859-1] Sun Feb 28 22:55:32 2016
@@ -110,14 +110,14 @@
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, ... );
@@ -144,6 +144,16 @@
#define todo_wine todo_ros
#else
#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