Skip to content

Commit 3991e24

Browse files
author
David Ungar
committed
Account for swift-driver checking all outputs.
1 parent 20cbf65 commit 3991e24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/Driver/Dependencies/one-way-merge-module-fine.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// CHECK-FIRST: Handled other.swift
1212
// CHECK-FIRST: Produced master.swiftmodule
1313

14+
// swift-driver checks existence of all outputs
15+
// RUN: touch -t 201401240006 %t/{main,other}.swift{module,doc,sourceinfo}
16+
1417
// RUN: cd %t && %swiftc_driver -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 -emit-module-path %t/master.swiftmodule -module-name main -j1 -v 2>&1 | %FileCheck -check-prefix=CHECK-SECOND %s
1518

1619
// CHECK-SECOND-NOT: warning

0 commit comments

Comments
 (0)