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 @skipIf( 14 oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"], 15 archs=['arm64', 'arm64e', 'arm64_32', 'arm'], 16 bugnumber="rdar://93863107") 17 @add_test_categories(["watchpoint"]) 18 @skipIfOutOfTreeDebugserver 19 def test(self): 20 """Test 100 watchpoints from 100 threads.""" 21 self.build() 22 self.do_thread_actions(num_watchpoint_threads=100) 23