From a9935eb494395097fa7d58065efaa28a9d1f121d Mon Sep 17 00:00:00 2001 From: Allan Shortlidge Date: Sat, 13 Sep 2025 16:58:34 -0700 Subject: [PATCH] Add explicit -swift-version argument in more tests. https://github.com/swiftlang/swift-driver/pull/1985 missed a test suite where `-swift-version` needs to be specified explicitly. --- Tests/SwiftDriverTests/IncrementalCompilationTests.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/SwiftDriverTests/IncrementalCompilationTests.swift b/Tests/SwiftDriverTests/IncrementalCompilationTests.swift index 0ccfeee17..e6d1a495c 100644 --- a/Tests/SwiftDriverTests/IncrementalCompilationTests.swift +++ b/Tests/SwiftDriverTests/IncrementalCompilationTests.swift @@ -78,6 +78,7 @@ final class IncrementalCompilationTests: XCTestCase { "-save-temps", "-incremental", "-no-color-diagnostics", + "-swift-version", "5", ] + inputPathsAndContents.map({ $0.0.nativePathString(escaped: false) }).sorted() }