From 5831e8f3e6a40ab310551ba8be364251e6434e87 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 6 Aug 2022 20:37:42 -0700 Subject: [PATCH] SwiftDriverTests: adjust module count on Windows A recent refactoring for Windows increased the module count for the system modules and this resulted in the test suite failing due to the difference. This is technically backwards incompatible and expects that the most recent toolchain is in use but it seems unclear how to account for that easily. --- Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift b/Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift index faeb0fa04..da11cf2e4 100644 --- a/Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift +++ b/Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift @@ -1128,7 +1128,7 @@ final class ExplicitModuleBuildTests: XCTestCase { hostTriple.version(for: .macOS) >= Triple.Version(11, 0, 0) { expectedNumberOfDependencies = 11 } else if driver.targetTriple.isWindows { - expectedNumberOfDependencies = 13 + expectedNumberOfDependencies = 14 } else { expectedNumberOfDependencies = 12 }