Skip to content

Commit 86b1bf8

Browse files
[test] Disable part of Concurrency/Runtime/checked_continuation.swift on WASI
1 parent a95a454 commit 86b1bf8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/Concurrency/Runtime/checked_continuation.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ struct TestError: Error {}
1515
var tests = TestSuite("CheckedContinuation")
1616

1717
if #available(SwiftStdlib 5.5, *) {
18+
// Disable crash tests
19+
#if !os(WASI)
1820
tests.test("trap on double resume non-throwing continuation") {
1921
expectCrashLater()
2022

@@ -41,7 +43,7 @@ struct TestError: Error {}
4143
}
4244
await task.get()
4345
}
44-
46+
#endif
4547
tests.test("test withCheckedThrowingContinuation") {
4648
let task2 = detach {
4749
do {

0 commit comments

Comments
 (0)