mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[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:
parent
b56100c77a
commit
075c41d5f5
16 changed files with 782 additions and 58 deletions
|
@ -627,6 +627,8 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
CONFIG_COMPAT.update({
|
||||
'legacy_windows_stdio': 0,
|
||||
})
|
||||
if support.is_apple:
|
||||
CONFIG_COMPAT['use_system_logger'] = False
|
||||
|
||||
CONFIG_PYTHON = dict(CONFIG_COMPAT,
|
||||
_config_init=API_PYTHON,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue