]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109276: libregrtest: WASM use stdout for JSON (#109355)
authorVictor Stinner <vstinner@python.org>
Wed, 13 Sep 2023 00:24:43 +0000 (02:24 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 00:24:43 +0000 (02:24 +0200)
commit715f6632589fc69595ed7fde847e5405925fb94b
tree2dd4db877378af8ae38a82a0c5f70336ff062ccb
parent75cdd9a904bbed9ac3bf02ef53b1c4c58aeee4d0
gh-109276: libregrtest: WASM use stdout for JSON (#109355)

On Emscripten and WASI, or if --python command line is used,
libregrtest now writes JSON into stdout, instead of using a name
file.

* Add JsonFileType.STDOUT.
* Remove JsonFileType.FILENAME.
* test.pythoninfo logs environment variables related to
  cross-compilation and running Python on Emscripten/WASI.
Lib/test/libregrtest/run_workers.py
Lib/test/libregrtest/runtests.py
Lib/test/libregrtest/worker.py
Lib/test/pythoninfo.py