Skip to content

Try to figure out why this test is failing on CentOS and no other Linux. #8514

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 1 commit into from
Apr 2, 2024
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,29 @@ def test(self):
"""Test that you can use register names in image lookup in a swift frame."""
self.build()
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
# I don't want to be too specific in what we print for image lookup,
# we're testing that the address expression for the pc worked.
self.expect("image lookup -va $pc", substrs=["doSomething"])
self.expect("image lookup -va $pc+4", substrs=["doSomething"])

def test_using_alias(self):
"""Test that you can use register names in image lookup in a swift frame."""
self.build()
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
# I don't want to be too specific in what we print for image lookup,
# we're testing that the address expression for the pc worked.
self.expect("target modules lookup -va $pc", substrs=["doSomething"])
self.expect("target modules lookup -va $pc+4", substrs=["doSomething"])

def test_using_separate_options(self):
"""Test that you can use register names in image lookup in a swift frame."""
self.build()
(target, process, thread, breakpoint) = lldbutil.run_to_source_breakpoint(self,
"break here to check image lookup", lldb.SBFileSpec("main.swift"))
# I don't want to be too specific in what we print for image lookup,
# we're testing that the address expression for the pc worked.
self.expect("target modules lookup -v -a $pc", substrs=["doSomething"])
self.expect("target modules lookup -v -a $pc+4", substrs=["doSomething"])