Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 13, 2023

On WASI platform, get_temp_dir() should behave differently since the parent process is a WASI process and uses a different get_temp_dir() path.

Fix also WorkerThread._runtest(): don't read JSON file if the worker process exit code is non-zero.

On WASI platform, get_temp_dir() should behave differently since the
parent process is a WASI process and uses a different get_temp_dir()
path.

Fix also WorkerThread._runtest(): don't read JSON file if the worker
process exit code is non-zero.
@vstinner
Copy link
Member Author

!buildbot wasm32-wasi

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @vstinner for commit ce06a36 🤖

The command will test the builders whose names match following regular expression: wasm32-wasi

The builders matched are:

  • wasm32-wasi PR

@vstinner
Copy link
Member Author

!buildbot wasm32-wasi

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @vstinner for commit 7e02048 🤖

The command will test the builders whose names match following regular expression: wasm32-wasi

The builders matched are:

  • wasm32-wasi PR

@vstinner
Copy link
Member Author

Nice! WASI buildbot pass again with this fix!

Total test files: run=460/463 skipped=143 resource_denied=3
Result: SUCCESS

@vstinner vstinner enabled auto-merge (squash) September 13, 2023 01:21
@vstinner vstinner merged commit b544c2b into python:main Sep 13, 2023
@vstinner vstinner deleted the regrtest_wasi branch September 13, 2023 01:40
vstinner added a commit to vstinner/cpython that referenced this pull request Sep 13, 2023
On WASI platform, get_temp_dir() should behave differently since the
parent process is a WASI process and uses a different get_temp_dir()
path.

Fix also WorkerThread._runtest(): don't read JSON file if the worker
process exit code is non-zero.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants