wine/test.h: Compare winetest_platform to the same value everywhere.

Francois Gouget fgouget at free.fr
Sun Feb 21 05:27:51 CST 2016


todo_wine*() should have the same pltform check as broken(), win_skip() 
and main().

Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 include/wine/test.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/wine/test.h b/include/wine/test.h
index 0d81a24..eddfd13 100644
--- a/include/wine/test.h
+++ b/include/wine/test.h
@@ -121,8 +121,8 @@ extern void __winetest_cdecl winetest_trace( const char *msg, ... ) WINETEST_PRI
 #define todo_if(is_todo) for (winetest_start_todo(is_todo); \
                               winetest_loop_todo(); \
                               winetest_end_todo())
-#define todo_wine               todo_if(!strcmp(winetest_platform, "wine"))
-#define todo_wine_if(is_todo)   todo_if((is_todo) && !strcmp(winetest_platform, "wine"))
+#define todo_wine               todo_if(strcmp(winetest_platform, "windows"))
+#define todo_wine_if(is_todo)   todo_if((is_todo) && strcmp(winetest_platform, "windows"))
 
 
 #ifdef NONAMELESSUNION
-- 
2.7.0



More information about the wine-patches mailing list