From 18190b389b02010f902826fcd7acb45d83a7d4d3 Mon Sep 17 00:00:00 2001 From: Jonathan Grynspan Date: Fri, 10 May 2024 15:09:32 -0400 Subject: [PATCH] Pass through `--experimental-event-stream-version` to swift-testing. 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: https://github.com/apple/swift-testing/pull/383 --- Sources/Commands/SwiftTestCommand.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sources/Commands/SwiftTestCommand.swift b/Sources/Commands/SwiftTestCommand.swift index d0aae87ce7e..fb8de86ed71 100644 --- a/Sources/Commands/SwiftTestCommand.swift +++ b/Sources/Commands/SwiftTestCommand.swift @@ -164,6 +164,11 @@ struct TestCommandOptions: ParsableArguments { @Option(name: .customLong("experimental-event-stream-output"), help: .hidden) var eventStreamOutputPath: AbsolutePath? + + /// The schema version of swift-testing's JSON input/output. + @Option(name: .customLong("experimental-event-stream-version"), + help: .hidden) + var eventStreamVersion: Int? } /// Tests filtering specifier, which is used to filter tests to run.