Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Oct 21, 2022

Helps #17567

Also move the test from the browser suite to other. It's easier to test there and it's faster.

self.assertContained('[asyncify] i can', out)

def test_asyncify_stack_overflow(self):
args = ['-sASYNCIFY', '-sASYNCIFY_STACK_SIZE=4']
Copy link
Collaborator

Choose a reason for hiding this comment

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

self.emcc_args += (these will be added automatically to the emcc_args specified via the parameter below.

# The unreachable error on small stack sizes is not super-helpful. Try at
# least to hint at increasing the stack size.

self.do_runf(test_file('other/async_stack_overflow.cpp'),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you rename this file to match the test name?

@kripken
Copy link
Member Author

kripken commented Oct 24, 2022

Thanks, feedback should be addressed.

@kripken kripken merged commit 8922355 into main Oct 24, 2022
@kripken kripken deleted the async-unreachable branch October 24, 2022 20:50
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