Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wasm backend pthreads testing improvements #8842

Merged
merged 3 commits into from
Jun 22, 2019
Merged

Wasm backend pthreads testing improvements #8842

merged 3 commits into from
Jun 22, 2019

Conversation

kripken
Copy link
Member

@kripken kripken commented Jun 21, 2019

There are still a few tests that don't pass, so this doesn't close #8718. But they are quite few at this point (and look unrelated to stack issues - something else going on there).

assert(STACK_MAX > STACK_BASE);
#if WASM_BACKEND
assert(max === e.data.stackBase);
assert(top > max);
Copy link
Member

Choose a reason for hiding this comment

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

I think it does still make sense to rename 'top' and 'max' as @vargaz suggested.

Copy link
Member Author

Choose a reason for hiding this comment

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

I opened #8843 now so we don't forget about that.

@kripken kripken merged commit 16edbe5 into incoming Jun 22, 2019
@kripken kripken deleted the pth branch June 22, 2019 00:27
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
 *   After emscripten-core#8811 landed a lot more tests can pass, this enables all those that can.
 *   Remove unnecessary stuff in test_pthread_gcc_atomic_fetch_and_op.
 *   Add more runtime assertions for the stack position.

There are still a few tests that don't pass, so this doesn't close emscripten-core#8718. But they are quite few at this point (and look unrelated to stack issues - something else going on there).
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.

Remaining test failures with wasm-backend pthreads
2 participants