Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Apr 6, 2021

See #13493

Also contains a drive-by fix for a test that used env_modify incorrectly.

@kripken kripken requested a review from sbc100 April 6, 2021 17:55
with env_modify({'EMMAKEN_JUST_CONFIGURE': '1'}):
cmd = [EMCC, '-s', 'ASSERTIONS', 'conftest.c', '-o', 'conftest']
output = self.run_process(cmd, stderr=PIPE)
output = self.run_process(cmd, stderr=PIPE)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that env_modify is not needed here since the filename (conftest.c) is enough of signal to run in this mode? Maybe just remove the with and replac with a comment?

self.assertExists('hello_.wasm')
self.assertContained('hello, world!', self.run_js('hello.wasm'))

def test_EM_PYTHON_MULTIPROCESSING(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this really is just a temporary thing perhaps mention in changelog why it was added and that is just a transitional thing to help people temporarily revert?

@kripken
Copy link
Member Author

kripken commented Apr 6, 2021

Thanks, feedback addressed.

@kripken kripken merged commit c2f4f09 into main Apr 8, 2021
@kripken kripken deleted the checkmult branch April 8, 2021 19:51
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.

3 participants