kernel32/tests: Merge two debug event loops in test_debugger().
Current test in debugger expects that all breakpoint debug
events appear before all the exit thread events.
On Windows, it happens that sometimes the breakpoint and exit
thread events are intertwined (making the test fail).
So, this patch:
- merges the exception events loop and the exit thread events loop
into a single loop.
- detects the unordered sequence (mark it broken as windows only)
- extends the test so that we check that all exit thread events
are received.
- introduce next_event_filter helper to not return some unwanted
events.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47874Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Showing
Please
register
or
sign in
to comment