Skip to content

Commit 50d2d4f

Browse files
author
David Ungar
committed
Swift-driver does not even start compiling files modified during build
1 parent 862243b commit 50d2d4f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/Driver/Dependencies/one-way-while-editing-fine.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// 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
88

99
// CHECK: Handled main.swift
10-
// CHECK: Handled other.swift
1110
// CHECK-NOT: error
1211
// CHECK: error: input file 'other.swift' was modified during the build
1312
// CHECK-NOT: error
@@ -22,7 +21,6 @@
2221
// 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
2322

2423
// CHECK-REVERSED: Handled other.swift
25-
// CHECK-REVERSED: Handled main.swift
2624
// CHECK-REVERSED-NOT: error
2725
// CHECK-REVERSED: error: input file 'main.swift' was modified during the build
2826
// CHECK-REVERSED-NOT: error

0 commit comments

Comments
 (0)