[lldb] Skip part of TestGdbRemoteMemoryAllocation.py on Apple Silicon

Skip the part of TestGdbRemoteMemoryAllocation.py that attempts to
allocate both writable and executable memory.
This commit is contained in:
Jonas Devlieghere 2022-02-07 09:40:45 -08:00
parent 9aa74347d5
commit 0d16652021

View File

@ -44,6 +44,7 @@ class TestGdbRemoteMemoryAllocation(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIf(oslist=no_match(supported_oses))
@skipIf(oslist=["linux"], archs=no_match(supported_linux_archs))
@expectedFailureDarwin(archs=["arm64", "arm64e"]) # Memory cannot be writable and executable
@expectedFailureAll(oslist=["windows"]) # Memory allocated with incorrect permissions
def test_supported(self):
"""Make sure (de)allocation works on platforms where it's supposed to