summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_android.py
Commit message (Collapse)AuthorAgeFilesLines
* Make Android streams respect the unbuffered (`-u`) option (#138806)Malcolm Smith2025-09-181-14/+18
| | | | | | Android pipes stdout/stderr to the log, which means every write to the log becomes a separate log line. As a result, most practical uses of stdout/stderr should be buffered; but it doesn't hurt to preserve unbuffered handling in case it's useful.
* gh-124666: Improve thread cleanup in test_android (#131427)Malcolm Smith2025-03-181-13/+26
| | | Ensures that failures in test setup don't result in dangling threads.
* Increase minimum Android API level to 24 (#125946)Malcolm Smith2024-10-251-4/+0
| | | | Minimum Android API level has been increased to 24 (Android 7.0).
* gh-125942: Android: set stdout to `errors="backslashreplace"` (#125943)Malcolm Smith2024-10-251-4/+1
| | | Android stdout/err streams now use `backslashreplace` encoding to ensure readability of the Android log.
* gh-116622: Mock the passage of time in Android logcat rate limit tests (#124015)Malcolm Smith2024-09-131-6/+26
| | | | | Mock the passage of time in Android logcat rate limit tests Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
* gh-116622: Add Android test script (#121595)Malcolm Smith2024-08-161-3/+10
| | | | | | | Adds a script for running the test suite on Android emulator devices. Starting with a fresh install of the Android Commandline tools; the script manages installing other requirements, starting the emulator (if required), and retrieving results from that emulator.
* gh-116622: Android logging fixes (#122698)Malcolm Smith2024-08-061-20/+112
| | | | Modifies the handling of stdout/stderr redirection on Android to accomodate the rate and buffer size limits imposed by Android's logging infrastructure.
* gh-116622: Redirect stdout and stderr to system log when embedded in an ↵Malcolm Smith2024-04-301-0/+332
Android app (#118063)