-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[lldb] Improve completion tests #65973
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
Conversation
This builds on #65945, so the first commit is from that PR. If you review using the per commit tab instead that should make it clearer, I hope. This is me trying to imitate a stacked PR and maybe failing, let's see how it goes. |
@llvm/pr-subscribers-lldb Changes
This exposed bugs in 2 of the tests, target stop-hook and
|
* Assert no completions for tests that should not find completions. * Remove regex mode from complete_from_to, which was unused. This exposed bugs in 2 of the tests, target stop-hook and process unload. These were fixed in previous commits but couldn't be tested properly until this patch.
f7082c3
to
ea172bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than that tiny quibble, this looks fine to me.
This reverts commit 2378ba6. I need to fix the x86 specific register tests.
This reverts commit 8012518. The x86 register write test had one that expected "\$rax" so on. As these patterns were previously regex, the $ had to be escaped. Now they are just plain strings to this is not needed.
* Assert no completions for tests that should not find completions. * Remove regex mode from complete_from_to, which was unused. This exposed bugs in 2 of the tests, target stop-hook and process unload. These were fixed in previous commits but couldn't be tested properly until this patch.
This reverts commit 2378ba6. I need to fix the x86 specific register tests.
This reverts commit 8012518. The x86 register write test had one that expected "\$rax" so on. As these patterns were previously regex, the $ had to be escaped. Now they are just plain strings to this is not needed.
This exposed bugs in 2 of the tests, target stop-hook and
process unload. These were fixed in previous commits but
couldn't be tested properly until this patch.