Skip to content

[lldb] Remove process restart prompt from TestSourceManager #85861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lldb/test/API/source-manager/TestSourceManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,13 @@ def test_artificial_source_location(self):
)

self.expect(
"run",
RUN_SUCCEEDED,
"thread info", substrs=[f"{src_file}:0", "stop reason = breakpoint"]
)
self.expect(
"frame select 0",
substrs=[
"stop reason = breakpoint",
"%s:%d" % (src_file, 0),
"Note: this address is compiler-generated code in " "function",
"that has no source code associated " "with it.",
"Note: this address is compiler-generated code in function",
"that has no source code associated with it.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this be a single process status command instead of both thread info & frame select 0 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tried it out, it totally can be. Thanks for the tip!

],
)

Expand Down