2016-07-22 21:50:55 +00:00
|
|
|
|
|
|
|
|
import unittest2
|
|
|
|
|
|
|
|
|
|
from lldbsuite.test.decorators import *
|
|
|
|
|
from lldbsuite.test.concurrent_base import ConcurrentEventsBase
|
|
|
|
|
from lldbsuite.test.lldbtest import TestBase
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@skipIfWindows
|
|
|
|
|
class ConcurrentTwoBreakpointsOneSignal(ConcurrentEventsBase):
|
|
|
|
|
|
|
|
|
|
mydir = ConcurrentEventsBase.compute_mydir(__file__)
|
|
|
|
|
|
|
|
|
|
@skipIfFreeBSD # timing out on buildbot
|
|
|
|
|
# Atomic sequences are not supported yet for MIPS in LLDB.
|
2016-10-10 10:02:09 +00:00
|
|
|
@skipIf(triple='^mips')
|
2019-03-04 16:54:06 +00:00
|
|
|
@expectedFailureNetBSD
|
2016-10-24 16:20:43 +00:00
|
|
|
def test(self):
|
2016-07-22 21:50:55 +00:00
|
|
|
"""Test two threads that trigger a breakpoint and one signal thread. """
|
|
|
|
|
self.build(dictionary=self.getBuildFlags())
|
|
|
|
|
self.do_thread_actions(num_breakpoint_threads=2, num_signal_threads=1)
|