[PATCH 8/8] ntoskrnl.exe/tests: Fix inverted winetest_win_skip condition.
Rémi Bernon
rbernon at codeweavers.com
Mon Sep 13 03:48:59 CDT 2021
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 at codeweavers.com>
---
dlls/ntoskrnl.exe/tests/utils.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntoskrnl.exe/tests/utils.h b/dlls/ntoskrnl.exe/tests/utils.h
index f73f6f938ca..98fe3f97864 100644
--- a/dlls/ntoskrnl.exe/tests/utils.h
+++ b/dlls/ntoskrnl.exe/tests/utils.h
@@ -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);
--
2.33.0
More information about the wine-devel
mailing list