brintos

brintos / llvm-project-archived public Read only

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