Skip to content

Commit 3e7755c

Browse files
authored
tests: Silence warning about not using the make-linux-sdk subcommand (#150)
`swift run swift-sdk-generator` still builds a Linux SDK by default, but prints the following warning: deprecated: Please explicitly specify the subcommand to run. For example: $ swift-sdk-generator make-linux-sdk
1 parent e07ecaa commit 3e7755c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftSDKGeneratorTests/EndToEndTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ final class EndToEndTests: XCTestCase {
7575
// the `swift run swift-sdk-generator` instance its own scratch directory.
7676
func buildSDK(inDirectory packageDirectory: FilePath, scratchPath: String, withArguments runArguments: String) async throws -> String {
7777
let generatorOutput = try await Shell.readStdout(
78-
"cd \(packageDirectory) && swift run --scratch-path \"\(scratchPath)\" swift-sdk-generator \(runArguments)"
78+
"cd \(packageDirectory) && swift run --scratch-path \"\(scratchPath)\" swift-sdk-generator make-linux-sdk \(runArguments)"
7979
)
8080

8181
let installCommand = try XCTUnwrap(generatorOutput.split(separator: "\n").first {

0 commit comments

Comments
 (0)