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.
1 parent a59ed35 commit 0979e9aCopy full SHA for 0979e9a
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
+ (1...10) .forEach { n in
373
+ tryInitial(false)
374
+ tryNoChange(true)
375
+ }
376
377
+
378
379
380
func testIncremental(checkDiagnostics: Bool) throws {
381
tryInitial(checkDiagnostics)
0 commit comments