Commit 812f7241 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

tests: Add a broken() function to make it possible to handle Windows…

tests: Add a broken() function to make it possible to handle Windows misbehaviors that we don't want to reproduce in Wine.
parent 476cb96b
......@@ -68,6 +68,8 @@ extern void winetest_wait_child_process( HANDLE process );
#define START_TEST(name) void func_##name(void)
#endif
extern int broken( int condition );
#ifdef __GNUC__
extern int winetest_ok( int condition, const char *msg, ... ) __attribute__((format (printf,2,3) ));
......@@ -224,6 +226,11 @@ void winetest_set_location( const char* file, int line )
data->current_line=line;
}
int broken( int condition )
{
return (strcmp(winetest_platform, "windows") == 0) && condition;
}
/*
* Checks condition.
* Parameters:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment