-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
feat(linux): add --remote-debug
flag to run-tests.sh
script 🕷️
#13233
base: beta
Are you sure you want to change the base?
Conversation
User Test ResultsTest specification and instructions User tests are not required Test Artifacts |
get_caps_lock_state(IBusKeymanTestsFixture *fixture) { | ||
return get_capslock_indicator(); | ||
} | ||
|
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.
Also some cleanup.
Sorry to ask for extra work. Could we split this to a separate PR, so this PR only has --remote-debug
changes?
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.
@@ -36,6 +37,7 @@ function help() { | |||
echo " --help, -h, -? Display this help" | |||
echo " --verbose, -v Run tests verbosely" | |||
echo " --debug debug test logging output" | |||
echo " --remote-debug start gdbserver after setup but prior to running the tests" |
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.
Can --debug and --remote-debug be used at the same time?
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.
Yes. --remote-debug
allows to attach a debugger, --debug
outputs more log messages.
c60e1f6
to
1621685
Compare
This allows to run the tests in a VM and debug them remotely. Co-authored-by: Darcy Wong <[email protected]>
1621685
to
051e6c7
Compare
--remote-debug
flag to run-tests.sh
script --remote-debug
flag to run-tests.sh
script 🕷️
This allows to run the tests in a VM and debug them remotely. Also document debugging the integration tests, and improve the output if dependencies are missing.
Also some cleanup.
@keymanapp-test-bot skip