Merge "Skip mallinfo / malloc_info tests on HWASan."

This commit is contained in:
Florian Mayer 2022-04-07 04:08:26 +00:00 committed by Gerrit Code Review
commit ad3710992d
2 changed files with 4 additions and 0 deletions

View file

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

View file

@ -43,6 +43,7 @@
#include <platform/bionic/macros.h>
#include <private/bionic_malloc_dispatch.h>
#include <tests/utils.h>
#include <unwindstack/Unwinder.h>
@ -2063,6 +2064,7 @@ TEST_F(MallocDebugTest, max_size) {
}
TEST_F(MallocDebugTest, debug_mallinfo) {
SKIP_WITH_HWASAN;
Init("guard");
void* pointer = debug_malloc(150);
@ -2475,6 +2477,7 @@ TEST_F(MallocDebugTest, abort_on_error_header_tag_corrupted) {
}
TEST_F(MallocDebugTest, malloc_info_no_pointer_tracking) {
SKIP_WITH_HWASAN;
Init("fill");
TemporaryFile tf;