diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-09-27 17:10:49 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-09-27 17:10:49 +0000 |
commit | 9dae4270dd0b0ac280ca5b50393e25841b911377 (patch) | |
tree | 4b23425b3be2129bddb948f204dc97c119137eb2 /lib/sanitizer_common/tests | |
parent | 37865adcd1b536f12eef52f65c5dba0008921834 (diff) |
[Sanitizer] Disable compact size class tests on Android
Fixing test failure on Android introduced in D38245. Compact size class
maps defined there are not to be used on Android.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/tests')
-rw-r--r-- | lib/sanitizer_common/tests/sanitizer_allocator_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/tests/sanitizer_allocator_test.cc b/lib/sanitizer_common/tests/sanitizer_allocator_test.cc index 23f0cbc97..7b5e3e21f 100644 --- a/lib/sanitizer_common/tests/sanitizer_allocator_test.cc +++ b/lib/sanitizer_common/tests/sanitizer_allocator_test.cc @@ -1278,6 +1278,7 @@ TEST(SanitizerCommon, SizeClassAllocator64ReleaseFreeMemoryToOS) { TestReleaseFreeMemoryToOS<Allocator64>(); } +#if !SANITIZER_ANDROID TEST(SanitizerCommon, SizeClassAllocator64CompactReleaseFreeMemoryToOS) { TestReleaseFreeMemoryToOS<Allocator64Compact>(); } @@ -1285,6 +1286,7 @@ TEST(SanitizerCommon, SizeClassAllocator64CompactReleaseFreeMemoryToOS) { TEST(SanitizerCommon, SizeClassAllocator64VeryCompactReleaseFreeMemoryToOS) { TestReleaseFreeMemoryToOS<Allocator64VeryCompact>(); } +#endif // !SANITIZER_ANDROID #endif // SANITIZER_CAN_USE_ALLOCATOR64 |