Skip to content

Commit 5d42385

Browse files
author
David Ungar
committed
enable test for batch mode continuing after errors
1 parent f463d12 commit 5d42385

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,6 @@ final class SwiftDriverTests: XCTestCase {
14721472
}
14731473

14741474
func testBatchModeContinueAfterErrors() throws {
1475-
throw XCTSkip("This test requires the fix to honoring -driver-use-frontend-path")
14761475
struct MockExecutor: DriverExecutor {
14771476
let resolver = try! ArgsResolver(fileSystem: localFileSystem)
14781477

@@ -1496,7 +1495,7 @@ final class SwiftDriverTests: XCTestCase {
14961495
}
14971496
}
14981497

1499-
let driver = try Driver(args: ["swiftc", "foo1.swift", "bar1.swift", "-enable-batch-mode", "-driver-use-frontend-path", "/bin/echo"], executor: MockExecutor())
1498+
let driver = try Driver(args: ["swiftc", "foo1.swift", "bar1.swift", "-enable-batch-mode", "-driver-use-frontend-path", "/dummy.py"], executor: MockExecutor())
15001499
}
15011500

15021501
func testSingleThreadedWholeModuleOptimizationCompiles() throws {

0 commit comments

Comments
 (0)