Skip verify_leak_allocation_limit under HWASan.

Bug: 227801493
Change-Id: I85630fe11b42d8d45ce63f279bb0fbcc635f8afb
This commit is contained in:
Florian Mayer 2022-04-13 14:39:36 -07:00
parent 8cfc318a87
commit dca7229b06
2 changed files with 3 additions and 0 deletions

View file

@ -167,6 +167,7 @@ cc_test {
include_dirs: [ include_dirs: [
"bionic/libc", "bionic/libc",
"bionic", // For SKIP_WITH_HWASAN.
], ],
header_libs: [ header_libs: [

View file

@ -55,6 +55,7 @@
#include <backtrace/BacktraceMap.h> #include <backtrace/BacktraceMap.h>
#include <bionic/malloc.h> #include <bionic/malloc.h>
#include <tests/utils.h>
// All DISABLED_ tests are designed to be executed after malloc debug // All DISABLED_ tests are designed to be executed after malloc debug
// is enabled. These tests don't run be default, and are executed // 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) { TEST_F(MallocDebugSystemTest, verify_leak_allocation_limit) {
SKIP_WITH_HWASAN;
VerifyLeak("leak_memory_limit_"); VerifyLeak("leak_memory_limit_");
} }