[3.13] gh-126925: Modify how iOS test results are gathered (GH-127592) (#127754)

Adds a `use_system_log` config item to enable stdout/stderr redirection for
Apple platforms. This log streaming is then used by a new iOS test runner
script, allowing the display of test suite output at runtime. The iOS test
runner script can be used by any Python project, not just the CPython test
suite.
(cherry picked from commit 2041a95e68)
This commit is contained in:
Russell Keith-Magee 2024-12-09 14:39:11 +08:00 committed by GitHub
parent b56100c77a
commit 075c41d5f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 782 additions and 58 deletions

View file

@ -179,6 +179,9 @@ typedef struct PyConfig {
int use_frozen_modules;
int safe_path;
int int_max_str_digits;
#ifdef __APPLE__
int use_system_logger;
#endif
int cpu_count;
#ifdef Py_GIL_DISABLED