Disable TestAArch64UnwindPAC.py for non PAC targets

TestAArch64UnwindPAC.py started failing on LLDB buildbot as underlying
hardware does not support PAC. This patch skips this test for targets
which do not support PAC feature.
This commit is contained in:
Muhammad Omair Javaid 2021-06-24 22:49:05 +00:00
parent 1a86559276
commit 975af861f3
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ class AArch64UnwindPAC(TestBase):
@skipIf(oslist=no_match(['linux']))
def test(self):
"""Test that we can backtrace correctly when AArch64 PAC is enabled"""
if not self.isAArch64PAuth():
self.skipTest('Target must support Pointer Authentication.')
self.build()
self.line = line_number('main.c', '// Frame func_c')