mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[WINE:TEST.H]
- Correctly count broken and win_skip (depending on USE_WINE_TODOS) when WINETEST_PLATFORM=reactos svn path=/trunk/; revision=64438
This commit is contained in:
@@ -306,7 +306,11 @@ void winetest_set_location( const char* file, int line )
|
||||
|
||||
int broken( int condition )
|
||||
{
|
||||
return (strcmp(winetest_platform, "windows") == 0) && condition;
|
||||
return ((strcmp(winetest_platform, "windows") == 0)
|
||||
#ifndef USE_WINE_TODOS
|
||||
|| (strcmp(winetest_platform, "reactos") == 0)
|
||||
#endif
|
||||
) && condition;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -411,7 +415,11 @@ void __winetest_cdecl winetest_win_skip( const char *msg, ... )
|
||||
{
|
||||
__winetest_va_list valist;
|
||||
__winetest_va_start(valist, msg);
|
||||
if ((strcmp(winetest_platform, "windows") == 0) || (strcmp(winetest_platform, "reactos") == 0))
|
||||
if ((strcmp(winetest_platform, "windows") == 0)
|
||||
#ifndef USE_WINE_TODOS
|
||||
|| (strcmp(winetest_platform, "reactos") == 0)
|
||||
#endif
|
||||
)
|
||||
winetest_vskip(msg, valist);
|
||||
else
|
||||
winetest_vok(0, msg, valist);
|
||||
|
||||
Reference in New Issue
Block a user