Disable malloc_info test under HWASan.
HWASan does not implement malloc_info. Test: bionic-unit-tests with SANITIZE_TARGET=hwaddress Change-Id: I61d50d9110fbca1784ed39950ed6c5540ca0c9a7
This commit is contained in:
parent
118ab10d75
commit
8de6b46ad8
|
@ -341,6 +341,7 @@ TEST(malloc, valloc_overflow) {
|
||||||
|
|
||||||
TEST(malloc, malloc_info) {
|
TEST(malloc, malloc_info) {
|
||||||
#ifdef __BIONIC__
|
#ifdef __BIONIC__
|
||||||
|
SKIP_WITH_HWASAN; // hwasan does not implement malloc_info
|
||||||
char* buf;
|
char* buf;
|
||||||
size_t bufsize;
|
size_t bufsize;
|
||||||
FILE* memstream = open_memstream(&buf, &bufsize);
|
FILE* memstream = open_memstream(&buf, &bufsize);
|
||||||
|
|
Loading…
Reference in New Issue