diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-12 13:13:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 13:13:29 (GMT) |
commit | d13f782a181d579fc3c23ea6059ff352ec9fab93 (patch) | |
tree | de2a48f54303d2beec53f36538c8887234d98fae /PC/python_uwp.cpp | |
parent | 8b55adfa8ff05477b4be7def36db7b66c73f181d (diff) | |
download | cpython-d13f782a181d579fc3c23ea6059ff352ec9fab93.zip cpython-d13f782a181d579fc3c23ea6059ff352ec9fab93.tar.gz cpython-d13f782a181d579fc3c23ea6059ff352ec9fab93.tar.bz2 |
gh-109276: libregrtest: fix worker working dir (#109313)
Fix Emscripten and WASI: start the test worker process in the Python
source code directory, where 'python.js' and 'python.wasm' can be
found. Then worker_process() changes to a temporary directory created
to run tests.
* create_worker_process() uses os_helper.SAVEDCWD as cwd.
* worker_process() uses get_temp_dir() as the parent directory for
get_work_dir().
* Don't use plural but singual for "test" in "Run 1 test ..."
message.
* Remove unused imports.
* Add WORK_DIR_PREFIX and WORKER_WORK_DIR_PREFIX constants.
Diffstat (limited to 'PC/python_uwp.cpp')
0 files changed, 0 insertions, 0 deletions