[Lldb-commits] [lldb] [lldb][test][win][x86_64] Fix XFAIL and XPASS on LLDB API tests (PR #100477)
Kendal Harland via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 26 13:33:46 PDT 2024
================
@@ -52,6 +52,7 @@ def test_negative_indexing(self):
self.build()
self.validate_negative_indexing()
+ @expectedFailureAll(oslist=["windows"], archs=["x86_64"])
----------------
kendalharland wrote:
If I change this line:
```
self.runCmd("expr -i 0 -- call_me(true)", check=False)
```
to this:
```
self.runCmd("expr -i 0 -- call_me(true)", check=True)
```
I see this error:
```
======================================================================
FAIL: test_StepInstruction_dwarf (TestThreadAPI.ThreadAPITestCase.test_StepInstruction_dwarf)
Test that StepInstruction preserves the plan stack.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1761, in test_method
return attrvalue(self)
^^^^^^^^^^^^^^^
File "C:\workspace\llvm-project\lldb\test\API\python_api\thread\TestThreadAPI.py", line 16, in test_StepInstruction
self.step_instruction_in_called_function()
File "C:\workspace\llvm-project\lldb\test\API\python_api\thread\TestThreadAPI.py", line 291, in step_instruction_in_called_function
self.runCmd("expr -i 0 -- call_me(true)", check=True)
File "C:\workspace\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1006, in runCmd
self.assertTrue(self.res.Succeeded(), msg if (msg) else CMD_MSG(cmd))
AssertionError: False is not true : Command 'expr -i 0 -- call_me(true)
Error output:
error: Couldn't look up symbols:
void call_me(bool)
Hint: The expression tried to call a function that is not present in the target, perhaps because it was optimized out by the compiler.
' did not return successfully
Config=x86_64-C:\workspace\llvm-project\build\bin\clang.exe
----------------------------------------------------------------------
https://github.com/llvm/llvm-project/pull/100477
More information about the lldb-commits
mailing list