[all-commits] [llvm/llvm-project] f8d42c: [lldb] Fix thread syncrhonization TestThreadBacktr...

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Feb 15 00:01:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8d42c55ec6e9c8778533d0b45bfa39753d0e63d
      https://github.com/llvm/llvm-project/commit/f8d42c55ec6e9c8778533d0b45bfa39753d0e63d
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py

  Log Message:
  -----------
  [lldb] Fix thread syncrhonization TestThreadBacktraceRepeat

lldb reports (and lldbutil.continue_to_breakpoint returns) a stop reason
even for suspended threads. Fix the test to expect that.

This was making the test flaky, as most of the time, the two threads
stop simultaneously, and the synchronization code is not executed.




More information about the All-commits mailing list