[test] XFail TestSigtrampUnwind based on arch rather than OS

This commit is contained in:
Davide Italiano 2020-06-25 16:22:52 -07:00
parent 0df7be2344
commit 38135b2a7f
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class SigtrampUnwind(TestBase):
# On different platforms the "_sigtramp" and "__kill" frames are likely to be different.
# This test could probably be adapted to run on linux/*bsd easily enough.
@skipUnlessDarwin
@expectedFailureAll(oslist=["ios", "watchos", "tvos", "bridgeos"], bugnumber="<rdar://problem/34006863>") # lldb skips 1 frame on arm64 above _sigtramp
@expectedFailureAll(archs=["arm64"], bugnumber="<rdar://problem/34006863>") # lldb skips 1 frame on arm64 above _sigtramp
def test(self):
"""Test that we can backtrace correctly with _sigtramp on the stack"""
self.build()