Skip to content

Commit 86e4054

Browse files
authored
Merge pull request #1388 from artemcm/WMOTestNoAutolinkOnOtherPlatforms
Tweak testWMOWithJustObjectInputs test to not count autolink-extract jobs
2 parents 9594d0d + a614b4d commit 86e4054

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
@@ -2915,7 +2915,7 @@ final class SwiftDriverTests: XCTestCase {
29152915
var driver = try Driver(args: [
29162916
"swiftc", "-wmo", "foo.o", "bar.o"
29172917
])
2918-
let plannedJobs = try driver.planBuild()
2918+
let plannedJobs = try driver.planBuild().removingAutolinkExtractJobs()
29192919
XCTAssertEqual(plannedJobs.count, 1)
29202920
XCTAssertEqual(plannedJobs.first?.kind, .link)
29212921
}

0 commit comments

Comments
 (0)