[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.

llvm-svn: 314318
This commit is contained in:
Alex Shlyapnikov 2017-09-27 17:10:49 +00:00
parent 89a947da72
commit fb238e5907
1 changed files with 2 additions and 0 deletions

View File

@ -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