You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure which behavior is the expected behavior, but it seems that the test executable requires external file access to run if it is built with the latest (DEVELOPMENT-SNAPSHOT-2024-03-22-a-wasm) toolchain.
$ mkdir wasm-test-example
$ cd wasm-test-example
$ swift package init --type library -name WasmTestExample
$ swift build --build-tests --experimental-swift-sdk DEVELOPMENT-SNAPSHOT-2024-03-20-a-wasm
$ wasmtime .build/debug/WasmTestExamplePackageTests.wasmTest Suite 'All tests' started at Test Suite 'testBundle.xctest' started at Test Suite 'WasmTestExampleTests' started at Test Case 'WasmTestExampleTests.testExample' started at Test Case 'WasmTestExampleTests.testExample' passed (0.0 seconds)Test Suite 'WasmTestExampleTests' passed at Executed 1 test, with 0 failures (0 unexpected) in 0.0 (0.0) secondsTest Suite 'testBundle.xctest' passed at Executed 1 test, with 0 failures (0 unexpected) in 0.0 (0.0) secondsTest Suite 'All tests' passed at Executed 1 test, with 0 failures (0 unexpected) in 0.0 (0.0) seconds
The text was updated successfully, but these errors were encountered:
kateinoigakukun
changed the title
The test executable built with DEVELOPMENT-SNAPSHOT-2024-03-22-a-wasm requires file access
XCTest requires access to host file system
Mar 26, 2024
Description
I'm not sure which behavior is the expected behavior, but it seems that the test executable requires external file access to run if it is built with the latest (DEVELOPMENT-SNAPSHOT-2024-03-22-a-wasm) toolchain.
main-snapshot-2024-03-13 & DEVELOPMENT-SNAPSHOT-2024-03-20-a-wasm
main-snapshot-2024-03-20 & DEVELOPMENT-SNAPSHOT-2024-03-22-a-wasm
Environment
The text was updated successfully, but these errors were encountered: