Skip to content

Add end-to-end tests for sdk and experimental-sdk commands #7517

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

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

MaxDesiatov
Copy link
Contributor

Previously these commands weren't covered with end-to-end tests. Now we verify that installation/listing/removal of a fixture Swift SDK succeeds, and also verify that experimental-sdk invocations issue a deprecation warning.

Previously these commands weren't covered with end-to-end tests. Now we verify that installation/listing/removal of a fixture Swift SDK succeeds, and also verify that `experimental-sdk` invocations issue a deprecation warning.
@MaxDesiatov MaxDesiatov added cross-compilation test suite improvements to SwiftPM test suite no functional change No user-visible functional changes included command-line interface labels Apr 30, 2024
@MaxDesiatov MaxDesiatov self-assigned this Apr 30, 2024
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov merged commit 656563f into main Apr 30, 2024
5 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/swift-sdk-tests branch April 30, 2024 23:05
MaxDesiatov added a commit that referenced this pull request May 1, 2024
…ounterparts (#7515)

Cherry-pick of #7512, #7507, and #7517.

**Explanation**: Since
[SE-0387](https://github.com/apple/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md)
was accepted and available in Swift 5.9 and Swift 5.10, it's time to
deprecate relevant CLI with the `experimental` prefix. There are enough
users of this command and corresponding options on `swift build` in the
wild, which means those should be deprecated first before removing.
**Scope**: isolated to `swift sdk` command and 2 Swift SDK options on
`swift build`.
**Risk**: low, these commands options have no impact on `swift build`
outside of cross-compilation use cases.
**Testing**: added new end-to-end tests in `SDKCommandTests` in
#7517 cherry-picked
here.
**Issue**: N/A
**Reviewer**: @bnbarham
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
…lang#7517)

Previously these commands weren't covered with end-to-end tests. Now we
verify that installation/listing/removal of a fixture Swift SDK
succeeds, and also verify that `experimental-sdk` invocations issue a
deprecation warning.
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
…lang#7517)

Previously these commands weren't covered with end-to-end tests. Now we
verify that installation/listing/removal of a fixture Swift SDK
succeeds, and also verify that `experimental-sdk` invocations issue a
deprecation warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line interface cross-compilation no functional change No user-visible functional changes included test suite improvements to SwiftPM test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants