Skip to content

Commit 67fadb2

Browse files
committed
Flip the Polarity on the Cross-Module Test
Make sure we can effectively turn this feature off instead of on.
1 parent 80db895 commit 67fadb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Driver/cross_module.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t/sub)
22
// RUN: echo "{\"\": {\"swift-dependencies\": \"cross_module.swiftdeps\"}}" > %t/ofm.json
3-
// RUN: %swiftc_driver -incremental -emit-module -module-name cross_module -output-file-map=%/t/ofm.json -driver-print-jobs -target x86_64-apple-macosx10.9 %s -enable-experimental-cross-module-incremental-build 2>^1 | %FileCheck -check-prefix ENABLE %s
3+
// RUN: %swiftc_driver -incremental -emit-module -module-name cross_module -output-file-map=%/t/ofm.json -driver-print-jobs -target x86_64-apple-macosx10.9 %s -disable-incremental-imports 2>^1 | %FileCheck -check-prefix ENABLE %s
44

55
// ENABLE: {{bin(/|\\\\)swift(-frontend|c)?(\.exe)?"?}} -frontend -merge-modules
6-
// ENABLE-SAME: -enable-experimental-cross-module-incremental-build
6+
// ENABLE-SAME: -disable-incremental-imports

0 commit comments

Comments
 (0)