17 lines · python
1from lldbsuite.test.decorators import *2from lldbsuite.test.concurrent_base import ConcurrentEventsBase3from lldbsuite.test.lldbtest import TestBase4 5 6@skipIfWindows7class ConcurrentTwoBreakpointThreads(ConcurrentEventsBase):8 # Atomic sequences are not supported yet for MIPS in LLDB.9 @skipIf(triple="^mips")10 @expectedFailureAll(11 archs=["aarch64"], oslist=["freebsd"], bugnumber="llvm.org/pr49433"12 )13 def test(self):14 """Test two threads that trigger a breakpoint."""15 self.build()16 self.do_thread_actions(num_breakpoint_threads=2)17