================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to