File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 7
7
// RUN: cd %t && not %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/modify-non-primary-files.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v 2>&1 | %FileCheck %s
8
8
9
9
// CHECK: Handled main.swift
10
- // CHECK-NOT: error
10
+ // CHECK: Handled other.swift
11
11
// CHECK: error: input file 'other.swift' was modified during the build
12
- // CHECK-NOT: error
13
12
14
13
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -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-RECOVER %s
15
14
21
20
// RUN: cd %t && not %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/modify-non-primary-files.py" -output-file-map %t/output.json -incremental -driver-always-rebuild-dependents ./other.swift ./main.swift -module-name main -j1 -v 2>&1 | %FileCheck -check-prefix=CHECK-REVERSED %s
22
21
23
22
// CHECK-REVERSED: Handled other.swift
24
- // CHECK-REVERSED-NOT: error
23
+ // CHECK-REVERSED: Handled main.swift
25
24
// CHECK-REVERSED: error: input file 'main.swift' was modified during the build
26
- // CHECK-REVERSED-NOT: error
27
25
28
26
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python.unquoted};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -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-REVERSED-RECOVER %s
29
27
30
- // CHECK-REVERSED-RECOVER-NOT: Handled other.swift
31
28
// CHECK-REVERSED-RECOVER: Handled main.swift
32
- // CHECK-REVERSED-RECOVER-NOT: Handled other.swift
You can’t perform that action at this time.
0 commit comments