@@ -59,7 +59,7 @@ final class SwiftDriverToolingInterfaceTests: XCTestCase {
5959 diagnosticCallback: { _, _ in } ) )
6060 }
6161 do { // Force no outputs
62- let testCommand = " -module-name foo -emit-module -emit-module-path /tmp/foo.swiftmodule -emit-objc-header -emit-objc-header-path /tmp/foo.h -enable-library-evolution -emit-module-interface -emit-module-interface-path /tmp/foo.swiftinterface -emit-library -emit-tbd -emit-tbd-path /tmp/foo.tbd -emit-dependencies -serialize-diagnostics " + inputFile. description
62+ let testCommand = " -swift-version 5 - module-name foo -emit-module -emit-module-path /tmp/foo.swiftmodule -emit-objc-header -emit-objc-header-path /tmp/foo.h -enable-library-evolution -emit-module-interface -emit-module-interface-path /tmp/foo.swiftinterface -emit-library -emit-tbd -emit-tbd-path /tmp/foo.tbd -emit-dependencies -serialize-diagnostics " + inputFile. description
6363 var resultingFrontendArgs : [ String ] = [ ]
6464 var emittedDiagnostics : [ Diagnostic ] = [ ]
6565 XCTAssertFalse ( getSingleFrontendInvocationFromDriverArgumentsV2 ( driverPath: " swiftc " ,
@@ -149,7 +149,7 @@ final class SwiftDriverToolingInterfaceTests: XCTestCase {
149149 executor: executor) )
150150 }
151151 do { // Force no outputs
152- let testCommand = " -module-name foo -emit-module -emit-module-path /tmp/foo.swiftmodule -emit-objc-header -emit-objc-header-path /tmp/foo.h -enable-library-evolution -emit-module-interface -emit-module-interface-path /tmp/foo.swiftinterface -emit-library -emit-tbd -emit-tbd-path /tmp/foo.tbd -emit-dependencies -serialize-diagnostics " + inputFile. description
152+ let testCommand = " -swift-version 5 - module-name foo -emit-module -emit-module-path /tmp/foo.swiftmodule -emit-objc-header -emit-objc-header-path /tmp/foo.h -enable-library-evolution -emit-module-interface -emit-module-interface-path /tmp/foo.swiftinterface -emit-library -emit-tbd -emit-tbd-path /tmp/foo.tbd -emit-dependencies -serialize-diagnostics " + inputFile. description
153153 var resultingFrontendArgs : [ String ] = [ ]
154154 var emittedDiagnostics : [ Diagnostic ] = [ ]
155155 XCTAssertFalse ( getSingleFrontendInvocationFromDriverArgumentsV3 ( driverPath: " swiftc " ,
@@ -243,7 +243,7 @@ final class SwiftDriverToolingInterfaceTests: XCTestCase {
243243 executor: executor) )
244244 }
245245 do { // Force no outputs
246- let testCommand = " -module-name foo -emit-module -emit-module-path /tmp/foo.swiftmodule -emit-objc-header -emit-objc-header-path /tmp/foo.h -enable-library-evolution -emit-module-interface -emit-module-interface-path /tmp/foo.swiftinterface -emit-library -emit-tbd -emit-tbd-path /tmp/foo.tbd -emit-dependencies -serialize-diagnostics " + inputFile. description
246+ let testCommand = " -swift-verion 5 - module-name foo -emit-module -emit-module-path /tmp/foo.swiftmodule -emit-objc-header -emit-objc-header-path /tmp/foo.h -enable-library-evolution -emit-module-interface -emit-module-interface-path /tmp/foo.swiftinterface -emit-library -emit-tbd -emit-tbd-path /tmp/foo.tbd -emit-dependencies -serialize-diagnostics " + inputFile. description
247247 var resultingFrontendArgs : [ String ] = [ ]
248248 var emittedDiagnostics : [ Diagnostic ] = [ ]
249249 XCTAssertFalse ( getSingleFrontendInvocationFromDriverArgumentsV4 ( driverPath: " swiftc " ,
@@ -336,7 +336,7 @@ final class SwiftDriverToolingInterfaceTests: XCTestCase {
336336 executor: executor) )
337337 }
338338 do { // Force no outputs
339- let testCommand = " -module-name foo -emit-module -emit-module-path /tmp/foo.swiftmodule -emit-objc-header -emit-objc-header-path /tmp/foo.h -enable-library-evolution -emit-module-interface -emit-module-interface-path /tmp/foo.swiftinterface -emit-library -emit-tbd -emit-tbd-path /tmp/foo.tbd -emit-dependencies -serialize-diagnostics " + inputFile. description
339+ let testCommand = " -swift-version 5 - module-name foo -emit-module -emit-module-path /tmp/foo.swiftmodule -emit-objc-header -emit-objc-header-path /tmp/foo.h -enable-library-evolution -emit-module-interface -emit-module-interface-path /tmp/foo.swiftinterface -emit-library -emit-tbd -emit-tbd-path /tmp/foo.tbd -emit-dependencies -serialize-diagnostics " + inputFile. description
340340 var resultingFrontendArgs : [ String ] = [ ]
341341 var emittedDiagnostics : [ Diagnostic ] = [ ]
342342 XCTAssertFalse ( getSingleFrontendInvocationFromDriverArgumentsV5 ( driverPath: " swiftc " ,
0 commit comments