Skip to content

Pass through --experimental-event-stream-version to swift-testing. #7551

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

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

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 labels May 10, 2024
@grynspan grynspan self-assigned this May 10, 2024
@grynspan grynspan requested a review from plemarquand May 10, 2024 19:11
@grynspan grynspan enabled auto-merge (squash) May 10, 2024 19:19
@MaxDesiatov MaxDesiatov added the needs tests This change needs test coverage label May 10, 2024
Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you be able to add tests to make sure this change works as intended?

@grynspan
Copy link
Contributor Author

Not at this time, no.

@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan grynspan merged commit e843f4e into main May 10, 2024
5 checks passed
@grynspan grynspan deleted the jgrynspan/pass-through-swift-testing-json-stream-version branch May 10, 2024 22:57
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
…wiftlang#7551)

Follow-on to swiftlang#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 added a commit that referenced this pull request May 15, 2024
…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 added a commit that referenced this pull request May 15, 2024
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

---------

Co-authored-by: Max Desiatov <[email protected]>
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
…wiftlang#7551)

Follow-on to swiftlang#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line interface enhancement needs tests This change needs test coverage swift test Changes impacting `swift test` tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants