Skip to content

Commit ca8a394

Browse files
grynspanfurby-tm
authored andcommitted
Pass through --experimental-event-stream-version to swift-testing. (swiftlang#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
1 parent 7b94df3 commit ca8a394

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sources/Commands/SwiftTestCommand.swift

+5
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ struct TestCommandOptions: ParsableArguments {
164164
@Option(name: .customLong("experimental-event-stream-output"),
165165
help: .hidden)
166166
var eventStreamOutputPath: AbsolutePath?
167+
168+
/// The schema version of swift-testing's JSON input/output.
169+
@Option(name: .customLong("experimental-event-stream-version"),
170+
help: .hidden)
171+
var eventStreamVersion: Int?
167172
}
168173

169174
/// Tests filtering specifier, which is used to filter tests to run.

0 commit comments

Comments
 (0)