Skip to content

Conversation

@MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Jun 22, 2025

These tests still require a manual lit.py invocation for Wasm, which will be added as a separate CMake target in a future PR.

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test linux

1 similar comment
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test linux

@MaxDesiatov MaxDesiatov marked this pull request as ready for review June 24, 2025 16:26
@MaxDesiatov MaxDesiatov added test suite Area: test suite embedded Embedded Swift WebAssembly Platform: WebAssembly WASI WebAssembly System Interface support labels Jun 24, 2025
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

1 similar comment
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov MaxDesiatov requested a review from phausler June 24, 2025 17:04
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov MaxDesiatov force-pushed the maxd/embedded-wasm-tests branch from 50f4eaf to 2c391e4 Compare June 27, 2025 15:09
@MaxDesiatov MaxDesiatov requested a review from kubamracek June 27, 2025 15:11
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@kubamracek
Copy link
Contributor

LGTM, and thanks!

There's a predefined list of supported platforms that WASI should be added now that it has an official Embedded Swift SDK.
@MaxDesiatov MaxDesiatov force-pushed the maxd/embedded-wasm-tests branch from 20ace90 to db33d70 Compare July 1, 2025 11:16
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov MaxDesiatov enabled auto-merge July 1, 2025 11:34
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

1 similar comment
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

7 similar comments
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit 0c4e561 into main Jul 4, 2025
3 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/embedded-wasm-tests branch July 4, 2025 14:36
MaxDesiatov added a commit that referenced this pull request Jul 26, 2025
Cherry-pick of #83128, #82399, and #82878, merged as ea6ca2b, 0c4e561, and e34eb33 respectively.

**Explanation**: Currently `test/CMakeLists.txt` can only set `SWIFT_LIT_ARGS` for all tests uniformly. This means that we can't have tests for Embedded Swift with a different set of `lit.py` arguments.

Also, create new `check-swift-embedded-wasi` target from `test/CMakeLists.txt`, tweak `lit.cfg` to support WASI Clang resource dir, exclude unsupported tests based on `CPU=wasm32` instead of `OS=wasi`.

**Scope**: Limited to Embedded Swift test suite.
**Risk**: Low, due to limited scope.
**Testing**: #82878 was incubated on `main` for 2 weeks, #82399 for 3 weeks with no disruption, #83128 merged this week, but enables all these tests on CI, which are consistently passing.
**Issue**: rdar://156585717
**Reviewer**: @bnbarham
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

embedded Embedded Swift test suite Area: test suite WASI WebAssembly System Interface support WebAssembly Platform: WebAssembly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants