llvm-project
0c9b33c9 - [lldb][test] Report the launch error in test_breakpoint_one_shot (#243803)

Commit
3 days ago
[lldb][test] Report the launch error in test_breakpoint_one_shot (#243803) `TestBreakpointHitCount.test_breakpoint_one_shot` on the `lldb-cmake-sanitized` failed ``` ERROR: test_breakpoint_one_shot (TestBreakpointHitCount.BreakpointHitCountTestCase) ... AttributeError: 'NoneType' object has no attribute 'IsValid' ``` `SBTarget::LaunchSimple` launch failed, but caller doesn't get the error. The fix is to replace it with `Launch`, and call `assertSuccess(error)`. Assisted-by: Claude
Author
Parents
Loading