• Eric Pouech's avatar
    kernel32/tests: Merge two debug event loops in test_debugger(). · 982472d8
    Eric Pouech authored
    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: 's avatarEric Pouech <eric.pouech@gmail.com>
    982472d8
debugger.c 88.1 KB