[PATCH 6/6] user32/tests: Flush remaining events before starting a new sequence.

Rémi Bernon rbernon at codeweavers.com
Tue Nov 5 13:44:52 CST 2019


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---

Notes:
    See https://testbot.winehq.org/JobDetails.pl?Key=59199#k214

 dlls/user32/tests/msg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 3ff0df9c76c..0de6eea47a6 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -14382,6 +14382,7 @@ static void test_dbcs_wm_char(void)
                            WS_OVERLAPPEDWINDOW, 100, 100, 200, 200, 0, 0, 0, NULL);
     ok (hwnd != 0, "Failed to create overlapped window\n");
     ok (hwnd2 != 0, "Failed to create overlapped window\n");
+    flush_events();
     flush_sequence();
 
     memset( wmCharSeq, 0, sizeof(wmCharSeq) );
-- 
2.24.0.rc2




More information about the wine-devel mailing list