summaryrefslogtreecommitdiff
path: root/tests/malloc_test.cpp
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2019-03-22 13:22:28 -0700
committerEvgenii Stepanov <eugenis@google.com>2019-03-22 13:23:18 -0700
commit8de6b46ad8af95db0e51568277ed0ad5e9dcda5a (patch)
tree9c64a574dc60ce0873236837d009a8666a1c11d2 /tests/malloc_test.cpp
parent118ab10d750bd9faab2dadf66df546a2c44afd3b (diff)
Disable malloc_info test under HWASan.
HWASan does not implement malloc_info. Test: bionic-unit-tests with SANITIZE_TARGET=hwaddress Change-Id: I61d50d9110fbca1784ed39950ed6c5540ca0c9a7
Diffstat (limited to 'tests/malloc_test.cpp')
-rw-r--r--tests/malloc_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/malloc_test.cpp b/tests/malloc_test.cpp
index 938068085..8d5db540f 100644
--- a/tests/malloc_test.cpp
+++ b/tests/malloc_test.cpp
@@ -341,6 +341,7 @@ TEST(malloc, valloc_overflow) {
TEST(malloc, malloc_info) {
#ifdef __BIONIC__
+ SKIP_WITH_HWASAN; // hwasan does not implement malloc_info
char* buf;
size_t bufsize;
FILE* memstream = open_memstream(&buf, &bufsize);