Connor McAdams : user32/tests: Fix dump_sequence winevent_hook_todo handling.
Alexandre Julliard
julliard at winehq.org
Wed Sep 29 15:54:10 CDT 2021
Module: wine
Branch: master
Commit: 1b78c229f52d50f055bef74008d7c6cd9692165d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1b78c229f52d50f055bef74008d7c6cd9692165d
Author: Connor McAdams <cmcadams at codeweavers.com>
Date: Tue Sep 28 21:12:29 2021 -0400
user32/tests: Fix dump_sequence winevent_hook_todo handling.
Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/tests/msg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 9602649600f..43253953a9e 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -2665,7 +2665,8 @@ static void dump_sequence(const struct message *expected, const char *context, c
}
}
/* silently drop winevent messages if there is no support for them */
- else if ((expected->flags & optional) || ((expected->flags & winevent_hook) && !hEvent_hook))
+ else if ((expected->flags & optional) || ((expected->flags & winevent_hook) && !hEvent_hook) ||
+ ((expected->flags & winevent_hook_todo) && !strcmp(winetest_platform, "wine")))
expected++;
else
{
More information about the wine-cvs
mailing list