This series, in addition to patches [1], [2], [3], fixes most of the user32 msg.c unit test. There's still some occasional failures, but it should be in a much better state now.
See a successful run here:
https://testbot.winehq.org/JobDetails.pl?Key=59917
[1] https://source.winehq.org/patches/data/172976 [2] https://source.winehq.org/patches/data/173238 [3] https://source.winehq.org/patches/data/173239
Rémi Bernon (12): user32/tests: Increase test_timers count tolerance on Windows. user32/tests: Tweak test result for w1064v1809. user32/tests: Synchronize with the SendMessageTimeout thread. user32/tests: Wait a bit more for ScrollWindowEx events. user32/tests: Close event at the end of the test_WaitForInputIdle test. user32/tests: Wait indefinitely for the child process to notify. user32/tests: Ignore WM_WININICHANGE message in test sequences. user32/tests: Make the test_PeekMessage3 timer fire less often. user32/tests: Tweak test_PeekMessage expectations for w1064v1809. user32/tests: Synchronize with other thread between SendMessage calls. user32/tests: Wait longer for injected mouse event to take effect. user32/tests: Add optional messages to test sequences.
dlls/user32/tests/msg.c | 89 ++++++++++++++++++++++++++++++++--------- 1 file changed, 70 insertions(+), 19 deletions(-)