Skip to content

Commit 851a488

Browse files
Skip swift-testing tests for Swift 6.3
1 parent 39f663c commit 851a488

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Plugins/PackageToJS/Tests/ExampleTests.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ extension Trait where Self == ConditionTrait {
246246
}
247247
}
248248

249+
// FIXME: This test fails on Swift 6.3 and later due to memory corruption
250+
// Enable it back when https://github.com/swiftlang/swift-driver/pull/1987 is included in the snapshot
251+
#if !compiler(>=6.3)
249252
@Test(.requireSwiftSDK)
250253
func testing() throws {
251254
let swiftSDKID = try #require(Self.getSwiftSDKID())
@@ -313,6 +316,7 @@ extension Trait where Self == ConditionTrait {
313316
}
314317
}
315318
#endif
319+
#endif // compiler(>=6.3)
316320

317321
@Test(.requireSwiftSDK(triple: "wasm32-unknown-wasip1-threads"))
318322
func multithreading() throws {

0 commit comments

Comments
 (0)