Skip to content

Conversation

emmatyping
Copy link
Member

@emmatyping emmatyping commented Apr 25, 2022

wasm32-emscripten does not support subprocesses. As a workaround, we can run the regression test suite with e.g. the system-native Python used for cross building, then execute the actual subprocess workers with the emscripten/target runtime.

For example, consider a setup where you have two folders: linux, which includes a build of CPython for linux and the native architecture of the machine. You also have wasm, which is the cross compiled Python for emscripten/node.

This PR would enable you to do linux/python -m test -j1 -p "node wasm/python.js", to run the test suite workers in nodejs.

@brettcannon
Copy link
Member

@ethanhs can you add a news file?

@miss-islington
Copy link
Contributor

@ethanhs: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor

@ethanhs: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: 4 of 7 required status checks are expected..

@miss-islington
Copy link
Contributor

@ethanhs: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: 4 of 7 required status checks are expected..

1 similar comment
@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: 4 of 7 required status checks are expected..

@miss-islington
Copy link
Contributor

@ethanhs: Status check is done, and it's a success ✅ .

2 similar comments
@miss-islington
Copy link
Contributor

@ethanhs: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor

@ethanhs: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: 4 of 7 required status checks are expected..

2 similar comments
@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: 4 of 7 required status checks are expected..

@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: 4 of 7 required status checks are expected..

@miss-islington
Copy link
Contributor

@ethanhs: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: Head branch was modified. Review and try the merge again..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants