Use print instead of po in debuginfo path test#156769
Conversation
|
r? @TaKO8Ki rustbot has assigned @TaKO8Ki. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Reproduced on Apple LLDB 2100.
Submitted a PR replacing |
There was a problem hiding this comment.
Pull request overview
Updates a Rust debuginfo LLDB test to be compatible with newer Apple LLDB versions where po can fail/fallback and change output formatting, causing lldb-check mismatches.
Changes:
- Remove
lldb-command:pousage fromtests/debuginfo/path.rs. - Relax
lldb-checkpatterns to tolerate expanded/variant LLDB output while still matching the"/some/path"value.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fixes #156660
This fixes
tests/debuginfo/path.rsfailing on newer Apple LLDB versions.Root cause:
Apple LLDB 2100 reports missing Rust language plugin support:
warning:
powas unsuccessful, runningpinsteadAs a result,
pofalls back top, producing expanded output that no longer matches the existinglldb-checkdirectives.Changes:
powithprintlldb-checkexpectations using[...]This also aligns
path.rswith the rest of the debuginfo tests, as it appears to be the only test usingpo.