Skip to content

[6.0] Add the formalized Swift Testing event stream arguments to swift test. #7770

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

Conversation

grynspan
Copy link
Contributor

Cherry-picks #7768 to release/6.0.

Explanation: Adds tools-facing command-line arguments for Swift Testing to swift test and swift test list. These arguments are passed through verbatim to Swift Testing and are not directly used by SwiftPM.
Scope: Affects swift test and swift test list.
Risk: Low—these arguments are wholly ignored by SwiftPM, and just need to be allowed through.
Testing: Existing test coverage for swift test, plus tests on the Swift Testing side for actually handling the arguments. Since SwiftPM ignores them, additional unit testing on the SwiftPM side would be tautological.
Issue: swiftlang/swift-testing#479
Reviewer: @bnbarham, @briancroom, @stmontgomery, @dennisweissmann

@grynspan grynspan added swift test Changes impacting `swift test` tool command-line interface swift 6.0 Related to Swift 6.0 release branch labels Jul 12, 2024
@grynspan grynspan self-assigned this Jul 12, 2024
@grynspan grynspan requested a review from a team as a code owner July 12, 2024 00:28
@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan grynspan merged commit 3103e26 into release/6.0 Jul 12, 2024
5 checks passed
@grynspan grynspan deleted the jgrynspan/formalized-swift-testing-event-stream-args-6.0 branch July 12, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line interface swift test Changes impacting `swift test` tool swift 6.0 Related to Swift 6.0 release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants