File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 16
16
// CHECK-SECOND-NOT: Handled
17
17
18
18
// RUN: touch -t 201401240006 %t/other.swift
19
- // RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift ./yet-another.swift -module-name main -j1 -v 2>&1 | cat > %t/outputToCheck
20
-
19
+ // RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift ./yet-another.swift -module-name main -j1 -v >%t/outputToCheck 2>&1
21
20
// RUN: %FileCheck -check-prefix=CHECK-THIRD %s < %t/outputToCheck
22
21
23
22
// Driver now schedules jobs in the order the inputs were given, but
Original file line number Diff line number Diff line change 4
4
// RUN: cp -r %S/Inputs/only-skip-once/* %t
5
5
// RUN: touch -t 201401240005 %t/*
6
6
7
- // RUN: cd %t && %target-swiftc_driver -driver-show-job-lifecycle -output-file-map %t/output-file-map.json -incremental main.swift file1.swift file2.swift -j1 2>&1 | %FileCheck -check-prefix=CHECK-INITIAL %s
7
+ // RUN: cd %t && %target-swiftc_driver -driver-show-job-lifecycle -output-file-map %t/output-file-map.json -incremental main.swift file1.swift file2.swift -j1 2>%t/stderr.txt | %FileCheck -check-prefix=CHECK-INITIAL %s
8
8
9
9
// CHECK-INITIAL: Job finished: {compile: main.o <= main.swift}
10
10
// CHECK-INITIAL: Job finished: {compile: file1.o <= file1.swift}
11
11
// CHECK-INITIAL: Job finished: {compile: file2.o <= file2.swift}
12
12
// CHECK-INITIAL: Job finished: {link: main <= main.o file1.o file2.o}
13
13
14
14
// RUN: touch -t 201401240006 %t/file2.swift
15
- // RUN: cd %t && %target-swiftc_driver -driver-show-job-lifecycle -output-file-map %t/output-file-map.json -incremental main.swift file1.swift file2.swift -j1 2>&1 | %FileCheck -check-prefix=CHECK-REBUILD %s
15
+ // RUN: cd %t && %target-swiftc_driver -driver-show-job-lifecycle -output-file-map %t/output-file-map.json -incremental main.swift file1.swift file2.swift -j1 2>%t/stderr.txt | %FileCheck -check-prefix=CHECK-REBUILD %s
16
16
17
17
// We should skip the main and file1 rebuilds here, but we should only note skipping them _once_
18
18
// CHECK-REBUILD: Job finished: {compile: file2.o <= file2.swift}
Original file line number Diff line number Diff line change 277
277
278
278
// RUN: %FileCheck -check-prefix=CHECK-ADD-NEW-FILE %s < %t/output7
279
279
280
- // CHECK-ADD-NEW-FILE-DAG: unable to load swift ranges file "./fileC.swiftranges", No such file or directory
281
- // CHECK-ADD-NEW-FILE-DAG: unable to determine when 'fileC.compiledsource' was last modified: No such file or directory
280
+ // CHECK-ADD-NEW-FILE-DAG: unable to load swift ranges file "./fileC.swiftranges", {{N|n}}o such file or directory
281
+ // CHECK-ADD-NEW-FILE-DAG: unable to determine when 'fileC.compiledsource' was last modified: {{N|n}}o such file or directory
282
282
// CHECK-ADD-NEW-FILE-DAG: Queuing <Dependencies> (initial): {compile: fileC.o <= fileC.swift}
283
283
// CHECK-ADD-NEW-FILE-DAG: Using dependencies: At least one input ('fileC.swift') lacks a supplementary output needed for the source range strategy.
284
284
// CHECK-ADD-NEW-FILE-DAG: Queuing <Dependencies> because of dependencies discovered later: {compile: fileB.o <= fileB.swift}
You can’t perform that action at this time.
0 commit comments