Skip to content

Commit c48c91a

Browse files
committed
[lldb][test] XFAIL TestThreadJump.py on older Clang versions
Failing on the macOS matrix bot for Clang-15 with the following error: ``` 07:16:08 FAIL: LLDB (/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/clang_1501_build/bin/clang-arm64) :: test_jump_offset_dwarf (TestThreadJump.ThreadJumpTestCase) 07:16:08 UNSUPPORTED: LLDB (/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/clang_1501_build/bin/clang-arm64) :: test_jump_offset_dwo (TestThreadJump.ThreadJumpTestCase) (test case does not fall in any category of interest for this run) 07:16:08 Restore dir to: /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/lldb-build/tools/lldb/test 07:16:08 ====================================================================== 07:16:08 FAIL: test_jump_offset_dsym (TestThreadJump.ThreadJumpTestCase) 07:16:08 Test Thread Jump by negative or positive offset 07:16:08 ---------------------------------------------------------------------- 07:16:08 Traceback (most recent call last): 07:16:08 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1804, in test_method 07:16:08 return attrvalue(self) 07:16:08 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/thread/jump/TestThreadJump.py", line 112, in test_jump_offset 07:16:08 self.expect(f"print {var_2}", substrs=[var_2_value]) 07:16:08 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2512, in expect 07:16:08 self.fail(log_msg) 07:16:08 AssertionError: Ran command: 07:16:08 "print var_2" 07:16:08 07:16:08 Got output: 07:16:08 (int) 20 07:16:08 07:16:08 Expecting sub string: "40" (was not found) ```
1 parent 4949a79 commit c48c91a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/test/API/functionalities/thread/jump/TestThreadJump.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def test(self):
6565
substrs=["error"],
6666
)
6767

68+
@expectedFailureAll(compiler="clang", compiler_version=["<", "17.0"])
6869
def test_jump_offset(self):
6970
"""Test Thread Jump by negative or positive offset"""
7071
exe = self.getBuildArtifact("a.out")

0 commit comments

Comments
 (0)