Skip to content

Fix emmalloc tests to allow a bit of slop#10183

Merged
juj merged 2 commits intoemscripten-core:incomingfrom
juj:debug_emmalloc
Jan 10, 2020
Merged

Fix emmalloc tests to allow a bit of slop#10183
juj merged 2 commits intoemscripten-core:incomingfrom
juj:debug_emmalloc

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