]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-126925: Modify how iOS test results are gathered (GH-127592) (#127754)
authorRussell Keith-Magee <russell@keith-magee.com>
Mon, 9 Dec 2024 06:39:11 +0000 (14:39 +0800)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2024 06:39:11 +0000 (14:39 +0800)
commit075c41d5f5b16701bda1140e7de5c2d5f90eebf8
treedeb6d7a52c0db73c2ba92793941a83fd65f701ff
parentb56100c77af54de75ff593252307dfea39bd3ad7
[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 2041a95e68ebf6d13f867e214ada28affa830669)
16 files changed:
Doc/c-api/init_config.rst
Doc/using/ios.rst
Include/cpython/initconfig.h
Lib/_apple_support.py [new file with mode: 0644]
Lib/test/test_apple.py [new file with mode: 0644]
Lib/test/test_embed.py
Makefile.pre.in
Misc/NEWS.d/next/Library/2024-12-04-15-04-12.gh-issue-126821.lKCLVV.rst [new file with mode: 0644]
Misc/NEWS.d/next/Tests/2024-12-04-15-03-24.gh-issue-126925.uxAMK-.rst [new file with mode: 0644]
Python/initconfig.c
Python/pylifecycle.c
Python/stdlib_module_names.h
iOS/README.rst
iOS/testbed/__main__.py [new file with mode: 0644]
iOS/testbed/iOSTestbed.xcodeproj/project.pbxproj
iOS/testbed/iOSTestbedTests/iOSTestbedTests.m