diff options
author | Elliott Hughes <enh@google.com> | 2020-10-19 13:18:45 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-10-19 16:51:58 -0700 |
commit | f2f016e741b4e82902de96e0d3ebb0dbf51c58c5 (patch) | |
tree | a1e1f7e6beff55213ba9289e064418e48febff7f /libutils/Unicode.cpp | |
parent | f70d801d4be2915d34c6407c741ed1d9ed0e98fc (diff) |
Fix SharedBuffer tests to pass under hwasan.
Allocating the entire address space is sufficiently unreasonable that
hwasan blows you out of the water if you try to do that. Half the
address space feels like it's large enough to be guaranteed to fail
(which is all I think this intended to test) without being quite so
obviously incorrect that tools like hwasan are going to object...
...except hwasan actually has a 2GiB limit. So let's keep the cleanup,
but also just disable these tests if they're running under hwasan for
now.
Bug: https://issuetracker.google.com/171054277
Test: treehugger
Change-Id: I41f3def5c3a43aa7f9ca3a130b4306ebed659d6a
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions