forked from OSchip/llvm-project
[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:
parent
89a947da72
commit
fb238e5907
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue