xref: /llvm-project/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py (revision 2238dcc39358353cac21df75c3c3286ab20b8f53)
1from lldbsuite.test.decorators import *
2from lldbsuite.test.concurrent_base import ConcurrentEventsBase
3from lldbsuite.test.lldbtest import TestBase
4
5
6@skipIfWindows
7class ConcurrentNWatchNBreak(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    @add_test_categories(["watchpoint"])
14    def test(self):
15        """Test with 5 watchpoint and breakpoint threads."""
16        self.build()
17        self.do_thread_actions(num_watchpoint_threads=5, num_breakpoint_threads=5)
18