Skip to content

Commit e7b2840

Browse files
authored
Merge pull request swiftlang#1406 from artemcm/59WMOTestNoAutolinkOnOtherPlatforms
[5.9 🍒][NFC] Tweak testWMOWithJustObjectInputs test to not count autolink-extract jobs
2 parents e1cba23 + 3ee6658 commit e7b2840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2901,7 +2901,7 @@ final class SwiftDriverTests: XCTestCase {
29012901
var driver = try Driver(args: [
29022902
"swiftc", "-wmo", "foo.o", "bar.o"
29032903
])
2904-
let plannedJobs = try driver.planBuild()
2904+
let plannedJobs = try driver.planBuild().removingAutolinkExtractJobs()
29052905
XCTAssertEqual(plannedJobs.count, 1)
29062906
XCTAssertEqual(plannedJobs.first?.kind, .link)
29072907
}

0 commit comments

Comments
 (0)