Skip to content

Commit e1c03d5

Browse files
kateinoigakukunrunner
authored andcommitted
[wasm][test] Skip crash tests on WASI for now
WASI doesn't support spawning a subprocess, so crash tests crashes the test harness itself. Skip them for now.
1 parent 9e8811e commit e1c03d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/stdlib/UnsafePointer.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ ${SelfName}TestSuite.test("pointer(to:)") {
537537
% end
538538
}
539539

540+
#if !os(WASI)
540541
${SelfName}TestSuite.test("pointer(to:).overflow") {
541542
struct Example {
542543
var a = false
@@ -558,6 +559,7 @@ ${SelfName}TestSuite.test("pointer(to:).overflow") {
558559
let doublePointer = p.pointer(to: \.d)
559560
expectNotNil(doublePointer)
560561
}
562+
#endif
561563

562564
% end
563565

0 commit comments

Comments
 (0)