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:
Rémi Bernon 2021-09-13 10:48:52 +02:00 committed by Alexandre Julliard
parent 54f9b33476
commit 7e1609db5f
1 changed files with 2 additions and 2 deletions

View File

@ -326,7 +326,7 @@ static inline void winetest_vskip( const char *msg, __ms_va_list args )
{
if (winetest_add_line() < winetest_mute_threshold)
{
winetest_print_context( "Tests skipped: " );
winetest_print_context( "Driver tests skipped: " );
kvprintf( msg, args );
InterlockedIncrement( &skipped );
}
@ -347,7 +347,7 @@ static inline void WINAPIV winetest_win_skip( const char *msg, ... )
{
__ms_va_list args;
__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 );
__ms_va_end( args );
}