GWP-ASan: Fix broken unit test
After a refactor I noticed that this unit test was broken. _aligned_malloc() does not go through the allocator shims on windows, but because we used EXPECT_TRUE() we didn't catch this failure. Delete the _aligned_malloc() test and refactor allocationCheck() to return failure count so that we can track failures across calls and return the proper exit code. Bug: 896019 Change-Id: Ibef719eb14980575cc52796167735f5a0ba177fc Reviewed-on: https://chromium-review.googlesource.com/c/1339319 Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Reviewed-by:Vitaly Buka <vitalybuka@chromium.org> Cr-Commit-Position: refs/heads/master@{#608908}
Showing
Please register or sign in to comment