File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,8 @@ extension Driver {
267
267
commandLine. append ( . path( try VirtualPath ( path: mcp) ) )
268
268
}
269
269
commandLine. appendFlag ( . serializeParseableModuleInterfaceDependencyHashes)
270
+ commandLine. appendFlag ( . badFileDescriptorRetryCount)
271
+ commandLine. appendFlag ( " 30 " )
270
272
return Job (
271
273
moduleName: moduleName,
272
274
kind: . compile,
Original file line number Diff line number Diff line change @@ -893,6 +893,7 @@ final class ExplicitModuleBuildTests: XCTestCase {
893
893
XCTAssertTrue ( jobs. allSatisfy { $0. kind == . compile} )
894
894
XCTAssertTrue ( jobs. allSatisfy { $0. commandLine. contains ( . flag( " -compile-module-from-interface " ) ) } )
895
895
XCTAssertTrue ( jobs. allSatisfy { $0. commandLine. contains ( . flag( " -module-cache-path " ) ) } )
896
+ XCTAssertTrue ( jobs. allSatisfy { $0. commandLine. contains ( . flag( " -bad-file-descriptor-retry-count " ) ) } )
896
897
XCTAssertTrue ( try jobs. allSatisfy { $0. commandLine. contains ( . path( try VirtualPath ( path: moduleCachePath) ) ) } )
897
898
let HJobs = jobs. filter { $0. moduleName == " H " }
898
899
XCTAssertTrue ( HJobs . count == 2 )
You can’t perform that action at this time.
0 commit comments