1import unittest2
2
3from lldbsuite.test.decorators import *
4from lldbsuite.test.concurrent_base import ConcurrentEventsBase
5from lldbsuite.test.lldbtest import TestBase
6
7
8@skipIfWindows
9class ConcurrentManyWatchpoints(ConcurrentEventsBase):
10
11    # Atomic sequences are not supported yet for MIPS in LLDB.
12    @skipIf(triple='^mips')
13    @add_test_categories(["watchpoint"])
14    @skipIfOutOfTreeDebugserver
15    def test(self):
16        """Test 100 watchpoints from 100 threads."""
17        self.build()
18        self.do_thread_actions(num_watchpoint_threads=100)
19