Add tests for src/snmalloc/override/new.cc#839
Add tests for src/snmalloc/override/new.cc#839paulhdk wants to merge 13 commits intomicrosoft:mainfrom
Conversation
|
@microsoft-github-policy-service agree |
|
Hi @pauhdk, thanks for taking this.
We run TSan in CI. So any concurrent test will get checked with TSan.
This should also be done, but a separate PR. We still support building with C++17, so that has caused some failures in CI. Also, there should be a clangformat pass. It will build a target with |
mjp41
left a comment
There was a problem hiding this comment.
Thanks. I have made a few suggestions that will hopefully get it through CI.
The TSan build is failing due to duplicate symbols. We might have to disable this test on TSan sadly.
Co-authored-by: Matthew Parkinson <mjp41@users.noreply.github.com>
Co-authored-by: Matthew Parkinson <mjp41@users.noreply.github.com>
Co-authored-by: Matthew Parkinson <mjp41@users.noreply.github.com>
Thank you! You beat me to it. Probably shouldn't have pushed before addressing all of your previous comments.
So, no additional data race tests needed in that case? |
|
Just pushed another fix, @mjp41. I believe the Ubuntu builds are failing because they run with Not sure about the Windows builds. |
First-time contributor taking a stab at #85.
Questions:
newanddeletedon't introduce data races. Should we explicitly test that, e.g., with ThreadSanitizer?should that be tracked in a separate issue?
closes: #85