1from lldbsuite.test.decorators import * 2from lldbsuite.test.concurrent_base import ConcurrentEventsBase 3from lldbsuite.test.lldbtest import TestBase 4 5 6@skipIfWindows 7class ConcurrentSignalNWatchNBreak(ConcurrentEventsBase): 8 # Atomic sequences are not supported yet for MIPS in LLDB. 9 @skipIf(triple="^mips") 10 @expectedFailureNetBSD 11 @expectedFailureAll( 12 archs=["aarch64"], oslist=["freebsd"], bugnumber="llvm.org/pr49433" 13 ) 14 @add_test_categories(["watchpoint"]) 15 def test(self): 16 """Test one signal thread with 5 watchpoint and breakpoint threads.""" 17 self.build() 18 self.do_thread_actions( 19 num_signal_threads=1, num_watchpoint_threads=5, num_breakpoint_threads=5 20 ) 21