-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-116622: Add Android test script #121595
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
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
103f97e
Update to Android Gradle plugin version 8.4.2
mhsmith fb1b54a
Separate Python test runner from MainActivity so it can be run from a…
mhsmith b99b769
Add `android.py test` command
mhsmith 6f07a39
--connected mode working
mhsmith c71f3cf
--managed mode working, and add instructions to README
mhsmith cd27b0f
Clarifications
mhsmith 6bbdfda
Restore build command logging, and only require adb when running tests
mhsmith e738689
Make testbed include only those ABIs which have been built
mhsmith 4561930
Merge branch 'android-2024-07' into android-test-script
mhsmith b519874
Fix Windows issues
mhsmith b3ed4c7
Merge branch 'main' into android-test-script
mhsmith 32f79d7
Clarify documentation; remove default `python -m test` arguments
mhsmith 6471512
Link to page about test options; add newlines at end of files
mhsmith 5c3967e
Add `android.py build-testbed` command
mhsmith cb60cc4
If test script fails before logcat starts, show the Gradle output eve…
mhsmith b075842
Fix logcat error messages being hidden
mhsmith 2266e82
Improve logging, add timeouts
mhsmith 397d20b
Make the app use the same NDK version as the Python build
mhsmith 8e80dd2
Install platform-tools automatically
mhsmith 709061e
In --connected mode, uninstall app before running Gradle
mhsmith 756bc13
Handle adb logcat returning failure when device disconnects
mhsmith 6b2ed6c
Filter logs by PID rather than UID
mhsmith 05a26cc
Try to terminate subprocesses with SIGTERM before sending SIGKILL
mhsmith a0dd03b
Handle SIGTERM the same way as SIGINT
mhsmith 2d53549
Fix race condition with pre-run uninstall
mhsmith c9d5bf5
Fix race condition in a more efficient way
mhsmith 706a1da
Make testbed pick up edits to pure-Python files in the Lib directory
mhsmith ae3a460
Merge branch 'main' into android-test-script
mhsmith cf15b99
Remove `boot_completed`, which is unnecessary since we're no longer r…
mhsmith c56373a
Automatically accept SDK licenses, and log Gradle package installatio…
mhsmith 1e89e58
Stop Gradle test tasks being skipped as up to date
mhsmith 91f356b
Fix CalledProcessError formatting
mhsmith bdaad24
Add note about testing on Windows
mhsmith ca2bae2
Implement `fileno` method on stdout and stderr
mhsmith 7a3d674
Correct comment
mhsmith f4b06f5
Merge branch 'main' into android-test-script
freakboy3742 47c02a5
Merge branch 'main' into android-test-script
mhsmith 602fbdd
Add note about RAM requirements
mhsmith 305d786
Handle transient failure of pidof
mhsmith 2ad8e4b
Merge branch 'main' into android-test-script
freakboy3742 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.