[lldb] Skip TestConcurrent.* watchpoint tests for Darwin on ARM

All TestConcurrent.* tests that involve watchpoints are broken on
ARM-based Darwin platforms, including Apple Silicon.

rdar://81811539
This commit is contained in:
Jonas Devlieghere 2021-08-11 14:26:31 -07:00
parent b97afc9dc0
commit 3f96438c20
10 changed files with 40 additions and 1 deletions

View File

@ -13,6 +13,10 @@ class ConcurrentDelayWatchBreak(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB. # Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips') @skipIf(triple='^mips')
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test (1-second delay) watchpoint and a breakpoint in multiple threads.""" """Test (1-second delay) watchpoint and a breakpoint in multiple threads."""

View File

@ -1,4 +1,3 @@
import unittest2 import unittest2
from lldbsuite.test.decorators import * from lldbsuite.test.decorators import *
@ -13,6 +12,10 @@ class ConcurrentManyWatchpoints(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB. # Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips') @skipIf(triple='^mips')
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
@skipIfOutOfTreeDebugserver @skipIfOutOfTreeDebugserver
def test(self): def test(self):

View File

@ -15,6 +15,10 @@ class ConcurrentNWatchNBreak(ConcurrentEventsBase):
@skipIf(triple='^mips') @skipIf(triple='^mips')
@expectedFailureAll(archs=["aarch64"], oslist=["freebsd"], @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
bugnumber="llvm.org/pr49433") bugnumber="llvm.org/pr49433")
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test with 5 watchpoint and breakpoint threads.""" """Test with 5 watchpoint and breakpoint threads."""

View File

@ -16,6 +16,10 @@ class ConcurrentSignalNWatchNBreak(ConcurrentEventsBase):
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureAll(archs=["aarch64"], oslist=["freebsd"], @expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
bugnumber="llvm.org/pr49433") bugnumber="llvm.org/pr49433")
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test one signal thread with 5 watchpoint and breakpoint threads.""" """Test one signal thread with 5 watchpoint and breakpoint threads."""

View File

@ -13,6 +13,10 @@ class ConcurrentSignalWatch(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB. # Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips') @skipIf(triple='^mips')
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test a watchpoint and a signal in multiple threads.""" """Test a watchpoint and a signal in multiple threads."""

View File

@ -14,6 +14,10 @@ class ConcurrentSignalWatchBreak(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB. # Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips') @skipIf(triple='^mips')
@expectedFailureNetBSD @expectedFailureNetBSD
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test a signal/watchpoint/breakpoint in multiple threads.""" """Test a signal/watchpoint/breakpoint in multiple threads."""

View File

@ -13,6 +13,10 @@ class ConcurrentTwoWatchpointThreads(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB. # Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips') @skipIf(triple='^mips')
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test two threads that trigger a watchpoint. """ """Test two threads that trigger a watchpoint. """

View File

@ -13,6 +13,10 @@ class ConcurrentTwoWatchpointsOneBreakpoint(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB. # Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips') @skipIf(triple='^mips')
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test two threads that trigger a watchpoint and one breakpoint thread. """ """Test two threads that trigger a watchpoint and one breakpoint thread. """

View File

@ -13,6 +13,10 @@ class ConcurrentTwoWatchpointsOneDelayBreakpoint(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB. # Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips') @skipIf(triple='^mips')
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test two threads that trigger a watchpoint and one (1 second delay) breakpoint thread. """ """Test two threads that trigger a watchpoint and one (1 second delay) breakpoint thread. """

View File

@ -14,6 +14,10 @@ class ConcurrentTwoWatchpointsOneSignal(ConcurrentEventsBase):
# Atomic sequences are not supported yet for MIPS in LLDB. # Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips') @skipIf(triple='^mips')
@expectedFailureNetBSD @expectedFailureNetBSD
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"]) @add_test_categories(["watchpoint"])
def test(self): def test(self):
"""Test two threads that trigger a watchpoint and one signal thread. """ """Test two threads that trigger a watchpoint and one signal thread. """