-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Run executable tests with WasmKit #71309
build: Run executable tests with WasmKit #71309
Conversation
preset=buildbot_linux_crosscompile_wasm |
preset=buildbot_linux_crosscompile_wasm |
d77256b
to
ece7fd3
Compare
preset=buildbot_linux_crosscompile_wasm |
I confirmed executable tests are now enabled on CI. Before: https://ci.swift.org/job/swift-PR-Linux-preset/107/consoleFull
After: https://ci.swift.org/job/swift-PR-Linux-preset/110/consoleFull
|
@swift-ci Please smoke test |
ece7fd3
to
7e60170
Compare
@swift-ci Please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you so much!
# | ||
# This source file is part of the Swift.org open source project | ||
# | ||
# Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update the year?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, updated.
This patch adds a new product, WasmKit, which is a Wasm runtime that is going to be used to run executable tests targeting Wasm. Note that the product is not shipped as a part of the toolchain, but is used only for testing purposes.
This patch allows running executable tests with WasmKit. If WasmKit is not built, fall back to running only non-executable tests. Also add stdlib and Concurrency executable tests to run.
This activates executable tests in addition to IRGen tests.
Those tests check so many input variations and take too long (hours) to run. We can re-enable them once WasmKit is well optimized.
7e60170
to
8e0a79d
Compare
@swift-ci Please smoke test |
This PR adds a new product, WasmKit, which is a Wasm runtime used for running executable tests. And also configures test suites to be run on CI.
Note that the product is not shipped as a part of the toolchain, but is used only for testing purposes.