mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
libregrtest now uses a separated file descriptor to write test result as JSON. Previously, if a test wrote debug messages late around the JSON, the main test process failed to parse JSON. Rename TestResult.write_json() to TestResult.write_json_into(). worker_process() no longer writes an empty line at the end. There is no need to separate test process output from the JSON output anymore, since JSON is now written into a separated file descriptor. create_worker_process() now always spawn the process with close_fds=True. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cmdline.py | ||
| findtests.py | ||
| logger.py | ||
| main.py | ||
| pgo.py | ||
| refleak.py | ||
| result.py | ||
| results.py | ||
| run_workers.py | ||
| runtests.py | ||
| save_env.py | ||
| setup.py | ||
| single.py | ||
| utils.py | ||
| win_utils.py | ||
| worker.py | ||