@@ -6776,7 +6776,6 @@ final class SwiftDriverTests: XCTestCase {
6776
6776
6777
6777
try withTemporaryDirectory { tmpDir in
6778
6778
var driver = try Driver ( args: [ " swiftc " , " -typecheck " , " foo.swift " ] ,
6779
- integratedDriver: false ,
6780
6779
compilerExecutableDir: tmpDir)
6781
6780
guard driver. isFrontendArgSupported ( . externalPluginPath) else {
6782
6781
return
@@ -6819,27 +6818,6 @@ final class SwiftDriverTests: XCTestCase {
6819
6818
}
6820
6819
}
6821
6820
6822
- func testExternalPluginPathsDisabled( ) throws {
6823
- #if !os(macOS)
6824
- throw XCTSkip ( " Supported only in macOS " )
6825
- #endif
6826
-
6827
- try withTemporaryDirectory { tmpDir in
6828
- var driver = try Driver ( args: [ " swiftc " , " -typecheck " , " foo.swift " ] ,
6829
- integratedDriver: true ,
6830
- compilerExecutableDir: tmpDir)
6831
- guard driver. isFrontendArgSupported ( . externalPluginPath) else {
6832
- return
6833
- }
6834
-
6835
- let jobs = try driver. planBuild ( ) . removingAutolinkExtractJobs ( )
6836
- XCTAssertEqual ( jobs. count, 1 )
6837
- let job = jobs. first!
6838
-
6839
- XCTAssertFalse ( job. commandLine. contains ( . flag( " -external-plugin-path " ) ) )
6840
- }
6841
- }
6842
-
6843
6821
func testClangModuleValidateOnce( ) throws {
6844
6822
let flagTest = try Driver ( args: [ " swiftc " , " -typecheck " , " foo.swift " ] )
6845
6823
guard flagTest. isFrontendArgSupported ( . clangBuildSessionFile) ,
0 commit comments