Skip to content

Commit bf09664

Browse files
committed
Revert "Swift-driver does not even start compiling files modified during build"
This reverts commit 50d2d4f.
1 parent 64c7582 commit bf09664

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
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
1011
// CHECK-NOT: error
1112
// CHECK: error: input file 'other.swift' was modified during the build
1213
// CHECK-NOT: error
@@ -21,6 +22,7 @@
2122
// 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
2223

2324
// CHECK-REVERSED: Handled other.swift
25+
// CHECK-REVERSED: Handled main.swift
2426
// CHECK-REVERSED-NOT: error
2527
// CHECK-REVERSED: error: input file 'main.swift' was modified during the build
2628
// CHECK-REVERSED-NOT: error

0 commit comments

Comments
 (0)