diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-12 22:41:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 22:41:25 (GMT) |
commit | 75cdd9a904bbed9ac3bf02ef53b1c4c58aeee4d0 (patch) | |
tree | 5534259955c57c016c2fb18fc20aef3d2beb1bbd /Python/context.c | |
parent | 5dcbbd8861e618488d95416dee8ea94577e3f4f0 (diff) | |
download | cpython-75cdd9a904bbed9ac3bf02ef53b1c4c58aeee4d0.zip cpython-75cdd9a904bbed9ac3bf02ef53b1c4c58aeee4d0.tar.gz cpython-75cdd9a904bbed9ac3bf02ef53b1c4c58aeee4d0.tar.bz2 |
gh-109276: libregrtest: WASM use filename for JSON (#109340)
On Emscripten and WASI platforms, or if --python command line option
is used, libregrtest now uses a filename for the JSON file.
Emscripten and WASI buildbot workers run the main test process with a
different Python (Linux) which spawns Emscripten/WASI processes using
the command specified in --python command line option. Passing a file
descriptor from the parent process to the child process doesn't work
in this case.
* Add JsonFile and JsonFileType classes
* Add RunTests.json_file_use_filename() method.
* Add a test in test_regrtest on the --python command line option.
* test_regrtest: add parallel=False parameter.
* Split long RunWorkers._runtest() function into sub-functions.
Diffstat (limited to 'Python/context.c')
0 files changed, 0 insertions, 0 deletions