Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions wasm/swiftpm.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@ RUN: cp -r %S/Hello %t.dir
CHECK-EMBEDDED-RUN-OUTPUT: Hello, world!
CHECK-EMBEDDED-RUN-OUTPUT-NEXT: Hello from WASILibc!
```

5. Verifying that `swift test` works with the prepared package:

a) Only non-embedded Swift SDK is currently supported

```
RUN: %{swift-sdk} list --swift-sdks-path %t.dir/swift-sdks | grep -v embedded | xargs %{swift-test} --swift-sdks-path %t.dir/swift-sdks --package-path %t.dir/Hello --swift-sdk | %{FileCheck} --check-prefix CHECK-TEST-OUTPUT %s
CHECK-TEST-OUTPUT: Test run with 1 tests in 1 suites passed
CHECK-TEST-OUTPUT: Executed 1 test, with 0 failures
```