-
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 and install swift-testing in toolchains #74582
Conversation
@swift-ci please smoke test |
The swift-testing repo hasn't moved to swiftlang yet. Does that affect this PR? |
Right now, this PR is still using the current |
cf64d07
to
81de3ff
Compare
a9a000f
to
8b03414
Compare
utils/swift_build_support/swift_build_support/products/swift_testing.py
Outdated
Show resolved
Hide resolved
…e to this PR but need to disable them to get a complete toolchain so I can inspect things more deeply
Please test with following pull request: @swift-ci Please Build Toolchain macOS Platform |
Please test with following pull request: @swift-ci Please Build Toolchain Linux Platform |
Linux failure is in Foundation, not Swift Testing. |
The Linux failure should be resolved in swiftlang/swift-foundation#748 |
Please test with following pull request: @swift-ci Please Build Toolchain Linux Platform |
@@ -101,7 +101,7 @@ def add_product(self, product_cls, is_enabled): | |||
self.current_pipeline.append(product_cls, is_enabled) | |||
|
|||
def add_impl_product(self, product_cls, is_enabled): | |||
"""Add a non-impl product to the current pipeline begin constructed""" | |||
"""Add an impl product to the current pipeline begin constructed""" |
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.
Nice catch!
return [swift.Swift, | ||
swiftsyntax.SwiftSyntax] |
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.
There is no need to wait for SwiftSyntax -- in the build we are using the swift syntax libraries that we build in the Swift compiler for plugins
return [swift.Swift, | |
swiftsyntax.SwiftSyntax] | |
return [swift.Swift] |
Closing on @stmontgomery's behalf as @rintaro has superseded it with #75515. |
As mentioned in the (now approved) A New Direction for Testing in Swift vision document, we're planning to include the swift-testing project in Swift toolchains soon. In preparation for that, this adds swift-testing to the
update-checkout
script, to itsmain
branch scheme. This PR does not introduce any changes to the build process.