mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +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:
parent
a8763f5e13
commit
5a02578590
1 changed files with 10 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue