Author: Muhammad Omair Javaid Date: 2021-06-24T22:50:36Z New Revision: 975af861f38fe2f11f98aeb990e9b6ee9dfee9ea
URL: https://github.com/llvm/llvm-project/commit/975af861f38fe2f11f98aeb990e9b6ee9dfee9ea DIFF: https://github.com/llvm/llvm-project/commit/975af861f38fe2f11f98aeb990e9b6ee9dfee9ea.diff LOG: 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. Added: Modified: lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py Removed: ################################################################################ diff --git a/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py b/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py index 8f88e644b6537..9b2faf7f1e78d 100644 --- a/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py +++ b/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/TestAArch64UnwindPAC.py @@ -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') _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits