Skip to content

Commit 9189ae9

Browse files
committed
Revert "Add test case"
This reverts commit c75cfd4.
1 parent d8a3480 commit 9189ae9

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6776,7 +6776,6 @@ final class SwiftDriverTests: XCTestCase {
67766776

67776777
try withTemporaryDirectory { tmpDir in
67786778
var driver = try Driver(args: ["swiftc", "-typecheck", "foo.swift"],
6779-
integratedDriver: false,
67806779
compilerExecutableDir: tmpDir)
67816780
guard driver.isFrontendArgSupported(.externalPluginPath) else {
67826781
return
@@ -6819,27 +6818,6 @@ final class SwiftDriverTests: XCTestCase {
68196818
}
68206819
}
68216820

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-
68436821
func testClangModuleValidateOnce() throws {
68446822
let flagTest = try Driver(args: ["swiftc", "-typecheck", "foo.swift"])
68456823
guard flagTest.isFrontendArgSupported(.clangBuildSessionFile),

0 commit comments

Comments
 (0)