ntoskrnl.exe/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
88a8e824e6
commit
757325bf77
|
@ -306,7 +306,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);
|
||||
}
|
||||
|
@ -328,7 +328,7 @@ static inline void WINAPIV winetest_win_skip( const char *msg, ... )
|
|||
{
|
||||
__ms_va_list args;
|
||||
__ms_va_start(args, msg);
|
||||
if (running_under_wine)
|
||||
if (!running_under_wine)
|
||||
winetest_vskip(msg, args);
|
||||
else
|
||||
winetest_vok(0, msg, args);
|
||||
|
|
Loading…
Reference in New Issue