Skip to content

[6.0] Pass through experimental swift-testing flags #7564

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

Conversation

grynspan
Copy link
Contributor

Explanation: Pass through --experimental-configuration-path, --experimental-event-stream-output, and --experimental-event-stream-version as used by swift-testing. These flags are needed for continued experimental support of swift-testing when using the Swift 6 toolchain.
Scope: Hidden flags in swift test.
Original PR: #7534, #7551
Risk: No obvious risk. These flags have no effect on swift test itself and are simply passed through verbatim to the swift-testing test executable.
Testing: Tested at-desk that the flags are seen by swift-testing with an appropriate toolchain.
Reviewer: @bnbarham, @MaxDesiatov, @stmontgomery

grynspan and others added 2 commits May 15, 2024 07:46
…st` (#7534)

This PR adds two undocumented/unsupported experimental options to `swift
test` to allow passing through JSON files/streams for input and output.
These streams are still under development in swift-testing, so these
options are not yet supported, but this change will allow interested
coders to experiment with them.

---------

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
…7551)

Follow-on to #7534. swift-testing has an additional argument specifying
the schema version of the JSON being used that we also need to pass
through SwiftPM.

See: swiftlang/swift-testing#383
@grynspan grynspan added enhancement swift test Changes impacting `swift test` tool command-line interface swift 6.0 Related to Swift 6.0 release branch labels May 15, 2024
@grynspan grynspan self-assigned this May 15, 2024
@grynspan grynspan changed the base branch from main to release/6.0 May 15, 2024 11:54
@grynspan grynspan requested a review from tomerd as a code owner May 15, 2024 11:54
@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan grynspan requested a review from stmontgomery May 15, 2024 15:06
@grynspan grynspan merged commit f177504 into release/6.0 May 15, 2024
5 checks passed
@grynspan grynspan deleted the jgrynspan/pass-through-experimental-swift-testing-flags-6.0 branch May 15, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line interface enhancement 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