We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aafcd93 + 7cc8433 commit e5acce7Copy full SHA for e5acce7
Tests/SwiftDriverTests/IncrementalCompilationTests.swift
@@ -366,6 +366,16 @@ final class IncrementalCompilationTests: XCTestCase {
366
try testIncremental(checkDiagnostics: false)
367
}
368
369
+ /// Ensure that the mod date of the input comes back exactly the same via the build-record.
370
+ /// Otherwise the up-to-date calculation in `IncrementalCompilationState` will fail.
371
+ func testBuildRecordDateAccuracy() throws {
372
+ tryInitial(false)
373
+ (1...10).forEach { n in
374
+ tryNoChange(true)
375
+ }
376
377
+
378
379
380
func testIncremental(checkDiagnostics: Bool) throws {
381
tryInitial(checkDiagnostics)
0 commit comments