Commit 99b167c5 authored by Xiao Shi's avatar Xiao Shi Committed by Facebook Github Bot

disable containerSize tests for iOS platforms temporarily

Summary:
Certain toolchains on iOS platforms don't apply EBO to F14 BasePolicy and
F14Table, which makes the size calculations incorrect.

This diff disables the test pending further investigation (T33121191).

Reviewed By: nbronson

Differential Revision: D9467473

fbshipit-source-id: 50435b3fcdeb81a6a892e280fdc919486f0ed107
parent f8afdfaa
...@@ -483,6 +483,8 @@ TEST(F14FastSet, simple) { ...@@ -483,6 +483,8 @@ TEST(F14FastSet, simple) {
} }
TEST(F14Set, ContainerSize) { TEST(F14Set, ContainerSize) {
// TODO(T33121191): pending investigation on EBO applicability on ios platforms.
#if !FOLLY_MOBILE || !__APPLE__
{ {
folly::F14ValueSet<int> set; folly::F14ValueSet<int> set;
set.insert(10); set.insert(10);
...@@ -513,6 +515,7 @@ TEST(F14Set, ContainerSize) { ...@@ -513,6 +515,7 @@ TEST(F14Set, ContainerSize) {
EXPECT_EQ(sizeof(set), 8 + 2 * sizeof(void*)); EXPECT_EQ(sizeof(set), 8 + 2 * sizeof(void*));
EXPECT_EQ(set.getAllocatedMemorySize(), 32); EXPECT_EQ(set.getAllocatedMemorySize(), 32);
} }
#endif
} }
TEST(F14VectorMap, reverse_iterator) { TEST(F14VectorMap, reverse_iterator) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment