File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 62
62
// Touch all files earlier than last compiled date in the build record.
63
63
64
64
// RUN: touch -t 201401240005 %t/*
65
- // RUN: cd %t && %swiftc_driver -enable-fine-grained-dependencies -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./crash.swift ./other.swift -module-name main -j1 -v 2>&1 -driver-show-incremental |tee /tmp/out1 | %FileCheck -check-prefix=CHECK-CURRENT-WITH-CRASH %s
65
+ // RUN: cd %t && %swiftc_driver -enable-fine-grained-dependencies -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./crash.swift ./other.swift -module-name main -j1 -v 2>&1 -driver-show-incremental | %FileCheck -check-prefix=CHECK-CURRENT-WITH-CRASH %s
66
66
67
67
// CHECK-CURRENT-WITH-CRASH: Handled main.swift
68
68
// CHECK-CURRENT-WITH-CRASH: Handled crash.swift
Original file line number Diff line number Diff line change 62
62
// Touch all files earlier than last compiled date in the build record.
63
63
64
64
// RUN: touch -t 201401240005 %t/*
65
- // RUN: cd %t && %swiftc_driver -disable-fine-grained-dependencies -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./crash.swift ./other.swift -module-name main -j1 -v 2>&1 -driver-show-incremental |tee /tmp/out1 | %FileCheck -check-prefix=CHECK-CURRENT-WITH-CRASH %s
65
+ // RUN: cd %t && %swiftc_driver -disable-fine-grained-dependencies -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./crash.swift ./other.swift -module-name main -j1 -v 2>&1 -driver-show-incremental | %FileCheck -check-prefix=CHECK-CURRENT-WITH-CRASH %s
66
66
67
67
// CHECK-CURRENT-WITH-CRASH: Handled main.swift
68
68
// CHECK-CURRENT-WITH-CRASH: Handled crash.swift
Original file line number Diff line number Diff line change 12
12
// CHECK-FIRST: Handled other.swift
13
13
14
14
// RUN: touch -t 201401240006 %t/crash.swift
15
- // RUN: cd %t && not %swiftc_driver -enable-fine-grained-dependencies -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies-bad.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./crash.swift ./main.swift ./other.swift -module-name main -j1 -v 2>&1 | tee /tmp/1 | %FileCheck -check-prefix=CHECK-SECOND %s
15
+ // RUN: cd %t && not %swiftc_driver -enable-fine-grained-dependencies -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies-bad.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./crash.swift ./main.swift ./other.swift -module-name main -j1 -v 2>&1 | %FileCheck -check-prefix=CHECK-SECOND %s
16
16
17
17
// CHECK-SECOND: Handled crash.swift
18
18
// CHECK-SECOND-NOT: Handled main.swift
Original file line number Diff line number Diff line change 11
11
// ...then reset the .swiftdeps files.
12
12
// RUN: cp -r %S/Inputs/one-way-depends-after-fine/*.swiftdeps %t
13
13
14
- // RUN: cd %t && %swiftc_driver -enable-fine-grained-dependencies -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 -module-name main -j1 -v 2>&1 | tee /tmp/1| %FileCheck -check-prefix=CHECK-FIRST %s
14
+ // RUN: cd %t && %swiftc_driver -enable-fine-grained-dependencies -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 -module-name main -j1 -v 2>&1 | %FileCheck -check-prefix=CHECK-FIRST %s
15
15
16
16
// CHECK-FIRST-NOT: warning
17
17
// CHECK-FIRST-NOT: Handled
Original file line number Diff line number Diff line change 88
88
89
89
90
90
// RUN: %empty-directory(%t/d)
91
- // RUN: %swiftc_driver -driver-print-bindings -target x86_64-apple-macosx10.9 -emit-executable -emit-module -serialize-diagnostics -emit-dependencies %/s %/S/Inputs/main.swift %/S/Inputs/lib.swift -g -o ./advanced_output_file_map.out -emit-module-path ./OutputFileMap.swiftmodule -module-name OutputFileMap -output-file-map %t/ofm.json 2>&1 | tee /tmp/out | %FileCheck %/s -check-prefix=BINDINGS-ENA
91
+ // RUN: %swiftc_driver -driver-print-bindings -target x86_64-apple-macosx10.9 -emit-executable -emit-module -serialize-diagnostics -emit-dependencies %/s %/S/Inputs/main.swift %/S/Inputs/lib.swift -g -o ./advanced_output_file_map.out -emit-module-path ./OutputFileMap.swiftmodule -module-name OutputFileMap -output-file-map %t/ofm.json 2>&1 | %FileCheck %/s -check-prefix=BINDINGS-ENA
92
92
// RUN: test ! -e %t/d/advanced_output_file_map.d
93
93
// RUN: test -e %t/d/main.d -a ! -s %t/d/main.d
94
94
// RUN: test -e %t/d/lib.d -a ! -s %t/d/lib.d
You can’t perform that action at this time.
0 commit comments