Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit be3d71a

Browse files
cferris1000Gerrit Code Review
authored andcommitted
Merge "Disable hwasan tests on zero checking tests." into main
2 parents eadd64f + fb4b87b commit be3d71a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/malloc_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,6 +1627,7 @@ TEST(malloc, zeroed_allocations_small_medium_sizes) {
16271627
#if !defined(__BIONIC__)
16281628
GTEST_SKIP() << "Only valid on bionic";
16291629
#endif
1630+
SKIP_WITH_HWASAN << "Only test system allocator, not hwasan allocator.";
16301631

16311632
if (IsLowRamDevice()) {
16321633
GTEST_SKIP() << "Skipped on low memory devices.";
@@ -1657,6 +1658,7 @@ TEST(malloc, zeroed_allocations_large_sizes) {
16571658
#if !defined(__BIONIC__)
16581659
GTEST_SKIP() << "Only valid on bionic";
16591660
#endif
1661+
SKIP_WITH_HWASAN << "Only test system allocator, not hwasan allocator.";
16601662

16611663
if (IsLowRamDevice()) {
16621664
GTEST_SKIP() << "Skipped on low memory devices.";
@@ -1687,6 +1689,7 @@ TEST(malloc, zeroed_allocations_realloc) {
16871689
#if !defined(__BIONIC__)
16881690
GTEST_SKIP() << "Only valid on bionic";
16891691
#endif
1692+
SKIP_WITH_HWASAN << "Only test system allocator, not hwasan allocator.";
16901693

16911694
if (IsLowRamDevice()) {
16921695
GTEST_SKIP() << "Skipped on low memory devices.";

0 commit comments

Comments
 (0)