File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
test/Incremental/Fingerprints Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 6
6
// RUN: %empty-directory(%t)
7
7
// RUN: cp %S/Inputs/class-fingerprint/* %t
8
8
// RUN: cp %t/definesAB{-before,}.swift
9
+ // RUN: cd %t
9
10
10
11
// Seeing weird failure on CI, so set the mod times
11
12
// RUN: touch -t 200101010101 %t/*.swift
12
13
13
- // RUN: cd %t && %swiftc_driver-stdlib-target -enable-batch-mode -j2 -incremental -driver-show-incremental main.swift definesAB.swift usesA.swift usesB.swift -module-name main -output-file-map ofm.json >&output3
14
+ // RUN: not %swiftc_driver-stdlib-target -enable-batch-mode -j2 -incremental -driver-show-incremental main.swift definesAB.swift usesA.swift usesB.swift -module-name main -output-file-map ofm.json >&output3
14
15
15
16
// only-run-for-debugging: cp %t/usesB.swiftdeps %t/usesB3.swiftdeps
16
17
24
25
// RUN: touch -t 200101010101 %t/*.swift
25
26
// RUN: touch -t 200301010101 %t/definesAB.swift
26
27
27
- // RUN: cd %t && %swiftc_driver-stdlib-target -enable-batch-mode -j2 -incremental -driver-show-incremental main.swift definesAB.swift usesA.swift usesB.swift -module-name main -output-file-map ofm.json >&output4
28
+ // RUN: not %swiftc_driver-stdlib-target -enable-batch-mode -j2 -incremental -driver-show-incremental main.swift definesAB.swift usesA.swift usesB.swift -module-name main -output-file-map ofm.json >&output4
28
29
29
30
// only-run-for-debugging: cp %t/usesB.swiftdeps %t/usesB4.swiftdeps
30
31
31
32
// RUN: %FileCheck -check-prefix=CHECK-MAINAB-RECOMPILED %s < %t/output4
32
33
33
34
// CHECK-MAINAB-RECOMPILED: Queuing (initial): {compile: definesAB.o <= definesAB.swift}
34
35
// CHECK-MAINAB-RECOMPILED: Queuing because of dependencies discovered later: {compile: usesA.o <= usesA.swift}
36
+
37
+ // RUN: echo "output3 is"
38
+ // RUN: cat output3
39
+ // RUN: echo "output4 is"
40
+ // RUN: cat output4
41
+ // RUN: exit 1
You can’t perform that action at this time.
0 commit comments