brintos

brintos / llvm-project-archived public Read only

0
0
Text · 691 B · 8e07aa0 Raw
19 lines · python
1from lldbsuite.test.decorators import *2from lldbsuite.test.concurrent_base import ConcurrentEventsBase3from lldbsuite.test.lldbtest import TestBase4 5 6@skipIfWindows7class ConcurrentWatchpointDelayWatchpointOneBreakpoint(ConcurrentEventsBase):8    # Atomic sequences are not supported yet for MIPS in LLDB.9    @skipIf(triple="^mips")10    @add_test_categories(["watchpoint"])11    def test(self):12        """Test two threads that trigger a watchpoint (one with a 1 second delay) and one breakpoint thread."""13        self.build()14        self.do_thread_actions(15            num_watchpoint_threads=1,16            num_delay_watchpoint_threads=1,17            num_breakpoint_threads=1,18        )19