-
Notifications
You must be signed in to change notification settings - Fork 122
desktop_tester.py: some random improvements to help with debugging failed runs #1027
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
✅ Integration test succeeded!Requested by @dconeybe on commit 78917c3 |
FYI The one failing integration tests, test-desktop-windows-latest-x64-openssl can be fixed by rolling back #1010, which re-arranged a bunch of the GitHub Actions logic. |
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.
LGTM
This PR makes a bunch of random improvements to
scripts/gha/desktop_tester.py
. These improvements primarily help with making sense of failed test runs.Here is a non-exhaustive list of changes:
shlex.split()
instead ofstr.split()
on the--cmd_line
argument, to intelligently handle quoted strings with spaces in them.result = None
and instead leverage Python's try/except/else structure.errors="replace"
tosubprocess.run()
so that any decoding errors of stdout/stderr won't cause a crash.