Issue 138083
Summary [lldb][test] Fix the TestConsecutiveBreakpoints.py test on Windows
Labels new issue
Assignees
Reporter slydiman
    The test lldb\test\API\functionalities\breakpoint\consecutive_breakpoints\TestConsecutiveBreakpoints.py failed on Windows x64 if the environment variable LLDB_USE_LLDB_SERVER=1 is not set.
```
======================================================================
FAIL: test_single_step_thread_specific (TestConsecutiveBreakpoints.ConsecutiveBreakpointsTestCase.test_single_step_thread_specific)
 Test that single step stops, even though the second breakpoint is not valid.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 443, in wrapper
    return func(self, *args, **kwargs)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\llvm-project\lldb\test\API\functionalities\breakpoint\consecutive_breakpoints\TestConsecutiveBreakpoints.py", line 121, in test_single_step_thread_specific
    self.finish_test()
  File "D:\llvm-project\lldb\test\API\functionalities\breakpoint\consecutive_breakpoints\TestConsecutiveBreakpoints.py", line 42, in finish_test
    self.assertState(self.process.GetState(), lldb.eStateExited)
  File "D:\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2628, in assertState
    self.fail(self._formatMessage(msg, error))
AssertionError: stopped (5) != exited (10)
Config=x86_64-D:\as\mainline\build-x64\bin\clang.exe
----------------------------------------------------------------------
```
python version is 3.12.3
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to