aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2022-04-13 14:39:36 -0700
committerFlorian Mayer <fmayer@google.com>2022-04-14 16:21:12 +0000
commitdca7229b06450e82d4e7e87aa946931acef366e5 (patch)
treea5dc48424adfba5f0cf8d16005f3f621a3f50474 /libc/malloc_debug/tests/malloc_debug_system_tests.cpp
parent8cfc318a874cc0d263a55c32b4b32a2a35be7177 (diff)
Skip verify_leak_allocation_limit under HWASan.
Bug: 227801493 Change-Id: I85630fe11b42d8d45ce63f279bb0fbcc635f8afb
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_system_tests.cpp')
-rw-r--r--libc/malloc_debug/tests/malloc_debug_system_tests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/malloc_debug/tests/malloc_debug_system_tests.cpp b/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
index eaf86c5a6..584370206 100644
--- a/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
+++ b/libc/malloc_debug/tests/malloc_debug_system_tests.cpp
@@ -55,6 +55,7 @@
#include <backtrace/BacktraceMap.h>
#include <bionic/malloc.h>
+#include <tests/utils.h>
// All DISABLED_ tests are designed to be executed after malloc debug
// is enabled. These tests don't run be default, and are executed
@@ -610,6 +611,7 @@ TEST_F(MallocDebugSystemTest, verify_leak) {
}
TEST_F(MallocDebugSystemTest, verify_leak_allocation_limit) {
+ SKIP_WITH_HWASAN;
VerifyLeak("leak_memory_limit_");
}