File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ /// main <==> other
2
+
3
+ // RUN: rm -rf %t && cp -r %S/Inputs/mutual/ %t
4
+ // RUN: touch -t 201401240005 %t/*
5
+
6
+ // RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path %S/Inputs/update-dependencies.py -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v -driver-show-incremental 2>&1 | %FileCheck -check-prefix=CHECK-FIRST %s
7
+ // CHECK-FIRST: Queuing main.swift (initial)
8
+
9
+ // RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path %S/Inputs/update-dependencies.py -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v -driver-show-incremental 2>&1 | %FileCheck -check-prefix=CHECK-SECOND %s
10
+ // CHECK-SECOND-NOT: Queuing
11
+
12
+ // RUN: touch -t 201401240006 %t/other.swift
13
+ // RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path %S/Inputs/update-dependencies.py -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v -driver-show-incremental 2>&1 | %FileCheck -check-prefix=CHECK-THIRD %s
14
+ // CHECK-THIRD: Queuing other.swift (initial)
15
+ // CHECK-THIRD: Queuing main.swift because of the initial set:
16
+ // CHECK-THIRD-NEXT: other.swift provides top-level name 'a'
17
+
You can’t perform that action at this time.
0 commit comments