Commit Graph

6 Commits

Author SHA1 Message Date
Miss Islington (bot) ff286a3d94
[3.13] gh-124666: Improve thread cleanup in test_android (GH-131427) (#131433)
Ensures that failures in test setup don't result in dangling threads.
(cherry picked from commit 01b5abbc53)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2025-03-19 08:30:59 +08:00
Miss Islington (bot) 083c5814c8
[3.13] gh-125942: Android: set stdout to `errors="backslashreplace"` (GH-125943) (#125950)
gh-125942: Android: set stdout to `errors="backslashreplace"` (GH-125943)

Android stdout/err streams now use `backslashreplace` encoding to ensure readability of the Android log.
(cherry picked from commit b08570c90e)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-10-25 00:59:23 +00:00
Miss Islington (bot) d002e1f3d5
[3.13] gh-116622: Mock the passage of time in Android logcat rate limit tests (GH-124015) (#124035)
gh-116622: Mock the passage of time in Android logcat rate limit tests (GH-124015)

Mock the passage of time in Android logcat rate limit tests

(cherry picked from commit f554883425)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2024-09-29 18:15:16 -07:00
Miss Islington (bot) cf6d14b966
[3.13] gh-116622: Add Android test script (GH-121595) (#123061)
gh-116622: Add Android test script (GH-121595)

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.
(cherry picked from commit f84cce6f25)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-08-16 16:36:46 +08:00
Miss Islington (bot) 0dd89a7f40
[3.13] gh-116622: Android logging fixes (GH-122698) (#122719)
gh-116622: Android logging fixes (GH-122698)

Modifies the handling of stdout/stderr redirection on Android to accomodate
the rate and buffer size limits imposed by Android's logging infrastructure.
(cherry picked from commit b0c48b8fd8)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-08-16 16:07:42 +08:00
Malcolm Smith 3b268f4edc
gh-116622: Redirect stdout and stderr to system log when embedded in an Android app (#118063) 2024-04-30 16:00:31 +02:00