Skip to content

Fix emmalloc tests to allow a bit of slop #10183

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

Merged
merged 2 commits into from
Jan 10, 2020

Conversation

juj
Copy link
Collaborator

@juj juj commented Jan 10, 2020

No description provided.

juj added 2 commits January 10, 2020 12:43
…kip emmalloc tests in LSan and ASan which do not support custom memory allocators.
@juj juj changed the title Add debugging for initial heap sizes Fix emmalloc tests to allow a bit of slop Jan 10, 2020
@juj juj mentioned this pull request Jan 10, 2020
@kripken
Copy link
Member

kripken commented Jan 10, 2020

Do we understand why the slop is needed? Aren't these tests fully deterministic?

@juj juj merged commit 85f0296 into emscripten-core:incoming Jan 10, 2020
@juj
Copy link
Collaborator Author

juj commented Jan 10, 2020

Do we understand why the slop is needed? Aren't these tests fully deterministic?

They should be - I don't currently know where the nondeterminism comes from. The heap is 16 bytes bigger to start with on some runs/systems. Marked down a note to investigate, but hopefully this PR lets the tot builder proceed.

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.

2 participants