Title: gh-109162: libregrtest: add worker.py by vstinner · Pull Request #109229 · python/cpython · GitHub
Open Graph Title: gh-109162: libregrtest: add worker.py by vstinner · Pull Request #109229 · python/cpython
X Title: gh-109162: libregrtest: add worker.py by vstinner · Pull Request #109229 · python/cpython
Description: Add new worker.py file: Move create_worker_process() and worker_process() to this file. Add main() function to worker.py. create_worker_process() now runs the command: "python -m test.libregrtest.worker JSON". create_worker_process() now starts the worker process in the current working directory. Regrtest now gets the absolute path of the reflog.txt filename: -R command line option filename. Remove --worker-json command line option. Remove test_regrtest.test_worker_json(). Related changes: Add write_json() and from_json() methods to TestResult. Rename select_temp_dir() to get_temp_dir() and move it to utils.py. Rename make_temp_dir() to get_work_dir() and move it to utils.py. It no longer calls os.makedirs(): Regrtest.main() now calls it. Move fix_umask() to utils.py. The function is now called by setup_tests(). Move StrPath to utils.py. RunTests: Replace junit_filename (StrPath) with use_junit (bool). Issue: gh-109162
Open Graph Description: Add new worker.py file: Move create_worker_process() and worker_process() to this file. Add main() function to worker.py. create_worker_process() now runs the command: "python -m test.libregr...
X Description: Add new worker.py file: Move create_worker_process() and worker_process() to this file. Add main() function to worker.py. create_worker_process() now runs the command: "python -m test.lib...
Opengraph URL: https://github.com/python/cpython/pull/109229
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:b8e0dd0a-2c99-81cd-5b91-ba5739660111 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | AC2C:3B507F:1CEC4D3:27C5C42:696AB9A1 |
| html-safe-nonce | eec393d1d7c339cb13803d710b54589ee6a6fa226e123aefda91fa5aa678dc76 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzJDOjNCNTA3RjoxQ0VDNEQzOjI3QzVDNDI6Njk2QUI5QTEiLCJ2aXNpdG9yX2lkIjoiMjk1NTQ0MDgyMDA0NDA4NTY2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 66733918caffd4b94d2dc93df15092b335cb0dcb26f3e80ddecb44d6da43f3f4 |
| hovercard-subject-tag | pull_request:1509138566 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/109229/checks |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Add new worker.py file: Move create_worker_process() and worker_process() to this file. Add main() function to worker.py. create_worker_process() now runs the command: "python -m test.libregr... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width