Skip to content

Commit ccb66d1

Browse files
authored
Merge pull request swiftlang#27782 from rintaro/disable-rdar56338898
[UnitTests] Temporarily disable IndexSubset testcases while investigating
2 parents 948f548 + dfd47a3 commit ccb66d1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

unittests/AST/IndexSubsetTests.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ TEST(IndexSubset, BitWordIndexAndOffset) {
4646
std::make_pair(1u, 0u));
4747
}
4848

49-
TEST(IndexSubset, Equality) {
49+
TEST(IndexSubset, /* rdar://problem/56338898 */DISABLED_Equality) {
5050
TestContext ctx;
5151
EXPECT_EQ(IndexSubset::get(ctx.Ctx, /*capacity*/ 5, /*indices*/ {0}),
5252
IndexSubset::get(ctx.Ctx, /*capacity*/ 5, /*indices*/ {0}));
@@ -60,7 +60,7 @@ TEST(IndexSubset, Equality) {
6060
IndexSubset::get(ctx.Ctx, /*capacity*/ 5, /*indices*/ {}));
6161
}
6262

63-
TEST(IndexSubset, Initializers) {
63+
TEST(IndexSubset, /* rdar://problem/56338898 */DISABLED_Initializers) {
6464
TestContext ctx;
6565
// Default init.
6666
EXPECT_EQ(IndexSubset::getDefault(ctx.Ctx, /*capacity*/ 5,
@@ -101,7 +101,7 @@ TEST(IndexSubset, Initializers) {
101101
IndexSubset::get(ctx.Ctx, /*capacity*/ 0, /*indices*/ {}));
102102
}
103103

104-
TEST(IndexSubset, Bits) {
104+
TEST(IndexSubset, /* rdar://problem/56338898 */DISABLED_Bits) {
105105
TestContext ctx;
106106
auto *indices1 = IndexSubset::get(ctx.Ctx, /*capacity*/ 5,
107107
/*indices*/ {0, 2, 4});
@@ -124,7 +124,7 @@ TEST(IndexSubset, Bits) {
124124
EXPECT_FALSE(indices2->contains(4));
125125
}
126126

127-
TEST(IndexSubset, Iteration) {
127+
TEST(IndexSubset, /* rdar://problem/56338898 */DISABLED_Iteration) {
128128
TestContext ctx;
129129
// Test 1
130130
{
@@ -164,7 +164,7 @@ TEST(IndexSubset, Iteration) {
164164
}
165165
}
166166

167-
TEST(IndexSubset, SupersetAndSubset) {
167+
TEST(IndexSubset, /* rdar://problem/56338898 */DISABLED_SupersetAndSubset) {
168168
TestContext ctx;
169169
auto *indices1 = IndexSubset::get(ctx.Ctx, /*capacity*/ 5,
170170
/*indices*/ {0, 2, 4});
@@ -178,7 +178,7 @@ TEST(IndexSubset, SupersetAndSubset) {
178178
EXPECT_TRUE(indices2->isSubsetOf(indices1));
179179
}
180180

181-
TEST(IndexSubset, Insertion) {
181+
TEST(IndexSubset, /* rdar://problem/56338898 */DISABLED_Insertion) {
182182
TestContext ctx;
183183
auto *indices1 = IndexSubset::get(ctx.Ctx, 5, {0, 2, 4});
184184
EXPECT_EQ(indices1->adding(0, ctx.Ctx), indices1);

0 commit comments

Comments
 (0)