From 8de6b46ad8af95db0e51568277ed0ad5e9dcda5a Mon Sep 17 00:00:00 2001 From: Evgenii Stepanov Date: Fri, 22 Mar 2019 13:22:28 -0700 Subject: [PATCH] Disable malloc_info test under HWASan. HWASan does not implement malloc_info. Test: bionic-unit-tests with SANITIZE_TARGET=hwaddress Change-Id: I61d50d9110fbca1784ed39950ed6c5540ca0c9a7 --- tests/malloc_test.cpp | 1 + 1 file changed, 1 insertion(+) 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);