Index: Source/wtf/PartitionAllocTest.cpp |
diff --git a/Source/wtf/PartitionAllocTest.cpp b/Source/wtf/PartitionAllocTest.cpp |
index 531fcd4f70a4547e4d6ee1ace34097ab26b30527..7f14f3cc7e2915fee3b2d1d93d946d09be3a1d9a 100644 |
--- a/Source/wtf/PartitionAllocTest.cpp |
+++ b/Source/wtf/PartitionAllocTest.cpp |
@@ -1064,6 +1064,8 @@ TEST(WTF_PartitionAlloc, LostFreePagesBug) |
TestShutdown(); |
} |
+#if !OS(ANDROID) |
+ |
// Make sure that malloc(-1) dies. |
// In the past, we had an integer overflow that would alias malloc(-1) to |
// malloc(0), which is not good. |
@@ -1131,6 +1133,8 @@ TEST(WTF_PartitionAllocDeathTest, GuardPages) |
TestShutdown(); |
} |
+#endif // !OS(ANDROID) |
+ |
// Tests that the countLeadingZeros() functions work to our satisfaction. |
// It doesn't seem worth the overhead of a whole new file for these tests, so |
// we'll put them here since partitionAllocGeneric will depend heavily on these |