Files
rust/tests
Jonathan Brouwer 447466869a Rollup merge of #156769 - fallofpheonix:fix-path-lldb-macos, r=jieyouxu
Use print instead of po in debuginfo path test

Fixes rust-lang/rust#156660

This fixes `tests/debuginfo/path.rs` failing on newer Apple LLDB versions.

Root cause:
Apple LLDB 2100 reports missing Rust language plugin support:

warning: `po` was unsuccessful, running `p` instead

As a result, `po` falls back to `p`, producing expanded output that no longer matches the existing `lldb-check` directives.

Changes:
- replace `po` with `print`
- relax `lldb-check` expectations using `[...]`
- preserve validation of the displayed path value

This also aligns `path.rs` with the rest of the debuginfo tests, as it appears to be the only test using `po`.

---

EDIT(@jieyouxu): see digging https://github.com/rust-lang/rust/pull/156769#discussion_r3293345899
2026-05-24 08:27:18 +02:00
..