Skip to content

Commit 3f96438

Browse files
committed
[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
1 parent b97afc9 commit 3f96438

10 files changed

+40
-1
lines changed

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentDelayWatchBreak.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ class ConcurrentDelayWatchBreak(ConcurrentEventsBase):
1313

1414
# Atomic sequences are not supported yet for MIPS in LLDB.
1515
@skipIf(triple='^mips')
16+
@skipIf(
17+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
18+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
19+
bugnumber="rdar://81811539")
1620
@add_test_categories(["watchpoint"])
1721
def test(self):
1822
"""Test (1-second delay) watchpoint and a breakpoint in multiple threads."""

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import unittest2
32

43
from lldbsuite.test.decorators import *
@@ -13,6 +12,10 @@ class ConcurrentManyWatchpoints(ConcurrentEventsBase):
1312

1413
# Atomic sequences are not supported yet for MIPS in LLDB.
1514
@skipIf(triple='^mips')
15+
@skipIf(
16+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
17+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
18+
bugnumber="rdar://81811539")
1619
@add_test_categories(["watchpoint"])
1720
@skipIfOutOfTreeDebugserver
1821
def test(self):

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ class ConcurrentNWatchNBreak(ConcurrentEventsBase):
1515
@skipIf(triple='^mips')
1616
@expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
1717
bugnumber="llvm.org/pr49433")
18+
@skipIf(
19+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
20+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
21+
bugnumber="rdar://81811539")
1822
@add_test_categories(["watchpoint"])
1923
def test(self):
2024
"""Test with 5 watchpoint and breakpoint threads."""

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ class ConcurrentSignalNWatchNBreak(ConcurrentEventsBase):
1616
@expectedFailureNetBSD
1717
@expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
1818
bugnumber="llvm.org/pr49433")
19+
@skipIf(
20+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
21+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
22+
bugnumber="rdar://81811539")
1923
@add_test_categories(["watchpoint"])
2024
def test(self):
2125
"""Test one signal thread with 5 watchpoint and breakpoint threads."""

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ class ConcurrentSignalWatch(ConcurrentEventsBase):
1313

1414
# Atomic sequences are not supported yet for MIPS in LLDB.
1515
@skipIf(triple='^mips')
16+
@skipIf(
17+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
18+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
19+
bugnumber="rdar://81811539")
1620
@add_test_categories(["watchpoint"])
1721
def test(self):
1822
"""Test a watchpoint and a signal in multiple threads."""

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatchBreak.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ class ConcurrentSignalWatchBreak(ConcurrentEventsBase):
1414
# Atomic sequences are not supported yet for MIPS in LLDB.
1515
@skipIf(triple='^mips')
1616
@expectedFailureNetBSD
17+
@skipIf(
18+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
19+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
20+
bugnumber="rdar://81811539")
1721
@add_test_categories(["watchpoint"])
1822
def test(self):
1923
"""Test a signal/watchpoint/breakpoint in multiple threads."""

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointThreads.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ class ConcurrentTwoWatchpointThreads(ConcurrentEventsBase):
1313

1414
# Atomic sequences are not supported yet for MIPS in LLDB.
1515
@skipIf(triple='^mips')
16+
@skipIf(
17+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
18+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
19+
bugnumber="rdar://81811539")
1620
@add_test_categories(["watchpoint"])
1721
def test(self):
1822
"""Test two threads that trigger a watchpoint. """

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneBreakpoint.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ class ConcurrentTwoWatchpointsOneBreakpoint(ConcurrentEventsBase):
1313

1414
# Atomic sequences are not supported yet for MIPS in LLDB.
1515
@skipIf(triple='^mips')
16+
@skipIf(
17+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
18+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
19+
bugnumber="rdar://81811539")
1620
@add_test_categories(["watchpoint"])
1721
def test(self):
1822
"""Test two threads that trigger a watchpoint and one breakpoint thread. """

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ class ConcurrentTwoWatchpointsOneDelayBreakpoint(ConcurrentEventsBase):
1313

1414
# Atomic sequences are not supported yet for MIPS in LLDB.
1515
@skipIf(triple='^mips')
16+
@skipIf(
17+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
18+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
19+
bugnumber="rdar://81811539")
1620
@add_test_categories(["watchpoint"])
1721
def test(self):
1822
"""Test two threads that trigger a watchpoint and one (1 second delay) breakpoint thread. """

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ class ConcurrentTwoWatchpointsOneSignal(ConcurrentEventsBase):
1414
# Atomic sequences are not supported yet for MIPS in LLDB.
1515
@skipIf(triple='^mips')
1616
@expectedFailureNetBSD
17+
@skipIf(
18+
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
19+
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
20+
bugnumber="rdar://81811539")
1721
@add_test_categories(["watchpoint"])
1822
def test(self):
1923
"""Test two threads that trigger a watchpoint and one signal thread. """

0 commit comments

Comments
 (0)