From 069cf41429fe8eab0f7412182f02ae6e0852ef7b Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Tue, 8 Jun 2021 15:33:22 -0700 Subject: [PATCH] Skip the malloc_slack test on native bridge. The allocator for the native bridge is not necessarily going to allocate the slack data. Bug: 202428612 Test: Ran on non-native bridge and verified test isn't skipped. Test: Ran on native bridge and verified test is skipped. Change-Id: Ia1555be0e9f55896af7ca81830605367133c44a1 (cherry picked from commit 7c0ce86a00433159dfc5dc7164feb752d094dff4) --- tests/malloc_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/malloc_test.cpp b/tests/malloc_test.cpp index d73f2436d..30da5c32f 100644 --- a/tests/malloc_test.cpp +++ b/tests/malloc_test.cpp @@ -1355,6 +1355,8 @@ TEST(malloc, disable_mte) { TEST(malloc, allocation_slack) { #if defined(__BIONIC__) + SKIP_WITH_NATIVE_BRIDGE; // http://b/189606147 + bool allocator_scudo; GetAllocatorVersion(&allocator_scudo); if (!allocator_scudo) {