diff options
author | Evgenii Stepanov <eugenis@google.com> | 2019-02-06 22:04:09 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-02-06 22:04:09 +0000 |
commit | f827d82cdde0fe7f11015fb5ead39bac861ab6bd (patch) | |
tree | a322a9f7b880e20144916208388ed2540fd60c9e /tests/malloc_test.cpp | |
parent | 73ee7a6320024c8f390d954a01b7a067c919bfc4 (diff) | |
parent | 7cc670637005e88e00be467c6c387112644a9209 (diff) |
Merge "Cleanup bionic tests with hwasan."
Diffstat (limited to 'tests/malloc_test.cpp')
-rw-r--r-- | tests/malloc_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/malloc_test.cpp b/tests/malloc_test.cpp index 25066915f..a3fe5af33 100644 --- a/tests/malloc_test.cpp +++ b/tests/malloc_test.cpp @@ -515,6 +515,7 @@ TEST(malloc, mallopt_smoke) { TEST(malloc, mallopt_decay) { #if defined(__BIONIC__) + SKIP_WITH_HWASAN; // hwasan does not implement mallopt errno = 0; ASSERT_EQ(1, mallopt(M_DECAY_TIME, 1)); ASSERT_EQ(1, mallopt(M_DECAY_TIME, 0)); @@ -527,6 +528,7 @@ TEST(malloc, mallopt_decay) { TEST(malloc, mallopt_purge) { #if defined(__BIONIC__) + SKIP_WITH_HWASAN; // hwasan does not implement mallopt errno = 0; ASSERT_EQ(1, mallopt(M_PURGE, 0)); #else @@ -564,6 +566,7 @@ TEST(malloc, reallocarray) { TEST(malloc, mallinfo) { #if defined(__BIONIC__) + SKIP_WITH_HWASAN; // hwasan does not implement mallinfo static size_t sizes[] = { 8, 32, 128, 4096, 32768, 131072, 1024000, 10240000, 20480000, 300000000 }; |