Skip to content

Commit

Permalink
[lldb] Skip TestConcurrent.* watchpoint tests for Darwin on ARM
Browse files Browse the repository at this point in the history
All TestConcurrent.* tests that involve watchpoints are broken on
ARM-based Darwin platforms, including Apple Silicon.

rdar://81811539
  • Loading branch information
JDevlieghere committed Aug 11, 2021
1 parent b97afc9 commit 3f96438
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 1 deletion.
Expand Up @@ -13,6 +13,10 @@ class ConcurrentDelayWatchBreak(ConcurrentEventsBase):

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

import unittest2

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

# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"])
@skipIfOutOfTreeDebugserver
def test(self):
Expand Down
Expand Up @@ -15,6 +15,10 @@ class ConcurrentNWatchNBreak(ConcurrentEventsBase):
@skipIf(triple='^mips')
@expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
bugnumber="llvm.org/pr49433")
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"])
def test(self):
"""Test with 5 watchpoint and breakpoint threads."""
Expand Down
Expand Up @@ -16,6 +16,10 @@ class ConcurrentSignalNWatchNBreak(ConcurrentEventsBase):
@expectedFailureNetBSD
@expectedFailureAll(archs=["aarch64"], oslist=["freebsd"],
bugnumber="llvm.org/pr49433")
@skipIf(
oslist=["ios", "watchos", "tvos", "bridgeos", "macosx"],
archs=['arm64', 'arm64e', 'arm64_32', 'arm'],
bugnumber="rdar://81811539")
@add_test_categories(["watchpoint"])
def test(self):
"""Test one signal thread with 5 watchpoint and breakpoint threads."""
Expand Down
Expand Up @@ -13,6 +13,10 @@ class ConcurrentSignalWatch(ConcurrentEventsBase):

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

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

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

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

0 comments on commit 3f96438

Please sign in to comment.