File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ jobs:
150
150
TARGET_STDLIB_BUILD_DIR=${{ github.workspace }}/target-build/swift-stdlib-wasi-wasm32
151
151
./swift/utils/run-test --build-dir "$TARGET_STDLIB_BUILD_DIR" --target wasi-wasm32 \
152
152
"$TARGET_STDLIB_BUILD_DIR/test-wasi-wasm32/stdlib"
153
+ ./swift/utils/run-test --build-dir "$TARGET_STDLIB_BUILD_DIR" --target wasi-wasm32 \
154
+ "$TARGET_STDLIB_BUILD_DIR/test-wasi-wasm32/Concurrency/Runtime"
153
155
154
156
- name : Run all tests for wasi-wasm32
155
157
if : ${{ matrix.run_full_test }}
Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ set(SWIFT_STDLIB_ENABLE_THINCMO YES CACHE BOOL "")
27
27
# build with the host compiler
28
28
set (SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "" )
29
29
30
- set (SWIFT_STDLIB_SINGLE_THREADED_RUNTIME YES CACHE BOOL "" )
30
+ set (SWIFT_STDLIB_SINGLE_THREADED_RUNTIME TRUE CACHE BOOL "" )
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ struct TestError: Error {}
15
15
var tests = TestSuite ( " CheckedContinuation " )
16
16
17
17
if #available( SwiftStdlib 5 . 5 , * ) {
18
+ // Disable crash tests
19
+ #if !os(WASI)
18
20
tests. test ( " trap on double resume non-throwing continuation " ) {
19
21
expectCrashLater ( )
20
22
@@ -41,7 +43,7 @@ struct TestError: Error {}
41
43
}
42
44
await task. get ( )
43
45
}
44
-
46
+ #endif
45
47
tests. test ( " test withCheckedThrowingContinuation " ) {
46
48
let task2 = detach {
47
49
do {
Original file line number Diff line number Diff line change 3
3
# ===----------------------------------------------------------------------===#
4
4
5
5
[preset: webassembly]
6
- sccache
7
6
skip-build-benchmarks
8
7
llvm-targets-to-build =X86; AArch64;WebAssembly
9
8
swift-darwin-supported-archs =%(HOST_ARCHITECTURE)s
You can’t perform that action at this time.
0 commit comments