dinput8/tests: Fix inverted winetest_win_skip condition.
And change skipped test message. It's not really useful and it will fail the tests if the main test summary doesn't match the number of skipped messages. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
54f9b33476
commit
7e1609db5f
|
@ -326,7 +326,7 @@ static inline void winetest_vskip( const char *msg, __ms_va_list args )
|
||||||
{
|
{
|
||||||
if (winetest_add_line() < winetest_mute_threshold)
|
if (winetest_add_line() < winetest_mute_threshold)
|
||||||
{
|
{
|
||||||
winetest_print_context( "Tests skipped: " );
|
winetest_print_context( "Driver tests skipped: " );
|
||||||
kvprintf( msg, args );
|
kvprintf( msg, args );
|
||||||
InterlockedIncrement( &skipped );
|
InterlockedIncrement( &skipped );
|
||||||
}
|
}
|
||||||
|
@ -347,7 +347,7 @@ static inline void WINAPIV winetest_win_skip( const char *msg, ... )
|
||||||
{
|
{
|
||||||
__ms_va_list args;
|
__ms_va_list args;
|
||||||
__ms_va_start( args, msg );
|
__ms_va_start( args, msg );
|
||||||
if (running_under_wine) winetest_vskip( msg, args );
|
if (!running_under_wine) winetest_vskip( msg, args );
|
||||||
else winetest_vok( 0, msg, args );
|
else winetest_vok( 0, msg, args );
|
||||||
__ms_va_end( args );
|
__ms_va_end( args );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue