Skip to content

Commit 8d29a3b

Browse files
committed
[lldb][API test] TestCortexMExceptionUnwind needs ARM llvm target
Finally figured out the issue with TestCortexMExceptionUnwind.py failing on some CI. When the llvm is configured without the ARM target enabled, the ARM ABI plugins will not be initialized in lldb, and the unwind engine won't backtrace more than one stack frame. This test requires that the ARM target be enabled in the llvm cmake. Update the decorator to specify that; should be the end of these mysterious fails.
1 parent d81e8c0 commit 8d29a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/functionalities/unwind/cortex-m-exception/TestCortexMExceptionUnwind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class TestCortexMExceptionUnwind(TestBase):
1313
NO_DEBUG_INFO_TESTCASE = True
1414

15-
@skipIfRemote
15+
@skipIfLLVMTargetMissing("ARM")
1616
def test_no_fpu(self):
1717
"""Test that we can backtrace correctly through an ARM Cortex-M Exception return stack"""
1818

0 commit comments

Comments
 (0)