|
138 | 138 | // RUN: head -1 %t/comparo | %FileCheck -check-prefix=CHECK-COMPARE-DISABLED-ARGUMENTS %s
|
139 | 139 | // RUN: tail -1 %t/comparo | %FileCheck -check-prefix=CHECK-COMPARE-0-0-3 %s
|
140 | 140 |
|
141 |
| -// CHECK-COMPARE-0-0-3: *** Comparing incremental schemes: deps: 0, ranges: 0, total: 3, |
| 141 | +// CHECK-COMPARE-0-0-3: *** Range benefit: 0 compilations, 0 stages, deps: 0, ranges: 0, total: 3, requested: ranges, used: ranges*** |
142 | 142 |
|
143 | 143 | // RUN: %FileCheck -check-prefix=CHECK-INCREMENTAL-ENABLED %s < %t/output3
|
144 | 144 | // CHECK-INCREMENTAL-ENABLED-NOT: Incremental compilation has been disabled
|
|
163 | 163 | // RUN: %FileCheck -check-prefix=CHECK-FILEB-ONLY %s < %t/output4
|
164 | 164 |
|
165 | 165 | // RUN: %FileCheck -check-prefix=COMPARE-2-1-3 %s < %t/output4
|
166 |
| -// COMPARE-2-1-3: *** Comparing incremental schemes: deps: 2, ranges: 1, total: 3, requested: ranges, using: ranges |
| 166 | +// COMPARE-2-1-3: *** Range benefit: 1 compilations, 1 stages, deps: 2, ranges: 1, total: 3, requested: ranges, used: ranges*** |
167 | 167 |
|
168 | 168 | // CHECK-FILEB-ONLY-NOT: Queuing{{.*}}<= main.swift
|
169 | 169 | // CHECK-FILEB-ONLY-NOT: Queuing{{.*}}<= fileA.swift
|
|
190 | 190 | // RUN: %FileCheck -check-prefix=CHECK-FILEA-AND-FILEB-ONLY %s < %t/output5
|
191 | 191 |
|
192 | 192 | // RUN: %FileCheck -check-prefix=COMPARE-2-2-3 %s < %t/output5
|
193 |
| -// COMPARE-2-2-3: *** Comparing incremental schemes: deps: 2, ranges: 2, total: 3, requested: ranges, using: ranges |
194 |
| - |
| 193 | +// COMPARE-2-2-3: *** Range benefit: 0 compilations, 1 stages, deps: 2, ranges: 2, total: 3, requested: ranges, used: ranges*** |
195 | 194 |
|
196 | 195 |
|
197 | 196 | // CHECK-FILEA-AND-FILEB-ONLY-NOT: Queuing{{.*}}<= main.swift
|
|
231 | 230 | // RUN: %FileCheck -check-prefix=CHECK-INITIALLY-ABSENT-MAIN %s < %t/output6
|
232 | 231 |
|
233 | 232 | // RUN: %FileCheck -check-prefix=CHECK-COMPARE-3-3-3-RANGES %s < %t/output6
|
234 |
| -// CHECK-COMPARE-3-3-3-RANGES: *** Comparing incremental schemes: deps: 3, ranges: 3, total: 3, requested: ranges, using: ranges |
| 233 | +// CHECK-COMPARE-3-3-3-RANGES: *** Range benefit: 0 compilations, 0 stages, deps: 3, ranges: 3, total: 3, requested: ranges, used: ranges*** |
235 | 234 |
|
236 | 235 | // CHECK-INITIALLY-ABSENT-MAIN-NOT: Queueing{{.*}}<= main.swift
|
237 | 236 |
|
|
263 | 262 | // RUN: %FileCheck -check-prefix=CHECK-HAS-NO-BATCHES %s < %t/output7
|
264 | 263 |
|
265 | 264 | // RUN: %FileCheck -check-prefix=CHECK-COMPARE-4-4-4 %s < %t/output7
|
266 |
| -// CHECK-COMPARE-4-4-4: *** Comparing incremental schemes: deps: 4, ranges: 4, total: 4, requested: ranges, using: deps |
| 265 | +// CHECK-COMPARE-4-4-4: *** Range benefit: 0 compilations, 0 stages, deps: 4, ranges (falling back): 4, total: 4, requested: ranges, used: deps*** |
267 | 266 |
|
268 | 267 | // RUN: cmp fileB.swift fileB.compiledsource
|
269 | 268 |
|
|
316 | 315 | // RUN: cp %t/fileB5.swift %t/fileB.swift
|
317 | 316 | // RUN: cd %t && not %swiftc_driver -driver-compare-incremental-schemes -enable-source-range-dependencies -output-file-map %t/output.json -incremental -enable-batch-mode ./main.swift ./fileA.swift ./fileB.swift -module-name main -j2 -driver-show-job-lifecycle -driver-show-incremental >& %t/output9
|
318 | 317 |
|
319 |
| -// RUN: %FileCheck -check-prefix=CHECK-COMPARE-3-3-3-DEPS %s < %t/output9 |
320 |
| -// CHECK-COMPARE-3-3-3-DEPS: *** Comparing incremental schemes: deps: 3, ranges: 3, total: 3, requested: ranges, using: deps |
| 318 | +// RUN: %FileCheck -check-prefix=CHECK-COMPARE-0-1-3-3-3-DEPS %s < %t/output9 |
| 319 | +// CHECK-COMPARE-0-1-3-3-3-DEPS: *** Range benefit: 0 compilations, 1 stages, deps: 3, ranges (falling back): 3, total: 3, requested: ranges, used: deps*** |
321 | 320 |
|
322 | 321 | // RUN: %FileCheck -check-prefix=CHECK-HAS-NO-BATCHES %s < %t/output9
|
323 | 322 |
|
|
329 | 328 | // RUN: cp %t/fileB4.swift %t/fileB.swift
|
330 | 329 | // RUN: cd %t && %swiftc_driver -driver-compare-incremental-schemes -enable-source-range-dependencies -output-file-map %t/output.json -incremental -enable-batch-mode ./main.swift ./fileA.swift ./fileB.swift -module-name main -j2 -driver-show-job-lifecycle -driver-show-incremental >& %t/output10
|
331 | 330 |
|
332 |
| -// RUN: %FileCheck -check-prefix=CHECK-COMPARE-3-3-3-DEPS %s < %t/output10 |
| 331 | +// RUN: %FileCheck -check-prefix=CHECK-COMPARE-0-0-3-3-3-DEPS %s < %t/output10 |
| 332 | +// CHECK-COMPARE-0-0-3-3-3-DEPS: *** Range benefit: 0 compilations, 0 stages, deps: 3, ranges (falling back): 3, total: 3, requested: ranges, used: deps*** |
| 333 | + |
333 | 334 | // RUN: %FileCheck -check-prefix=CHECK-HAS-NO-BATCHES %s < %t/output10
|
334 | 335 |
|
335 | 336 |
|
|
0 commit comments