Skip to content

Commit 8fa8dec

Browse files
author
David Ungar
committed
Supply ready-made .swiftdeps files so that an actual compilation isn't needed.
1 parent 49de1ea commit 8fa8dec

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.

test/Driver/Dependencies/bindings-build-record.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// XFAIL: *
2-
// REQUIRES: rdar72554270
3-
// REQUIRES: rdar72550007
41
// REQUIRES: shell
52
// RUN: %empty-directory(%t)
63
// RUN: cp -r %S/Inputs/bindings-build-record/* %t
@@ -15,13 +12,6 @@
1512
// MUST-EXEC-DAG: Disabling incremental build: could not read build record
1613

1714
// RUN: echo '{version: "'$(%swiftc_driver_plain -version | head -n1)'", inputs: {"./main.swift": [443865900, 0], "./other.swift": [443865900, 0], "./yet-another.swift": [443865900, 0]}, build_time: [443865901, 0]}' > %t/main~buildrecord.swiftdeps
18-
19-
// Run it once to produce swiftdeps files for the new driver to have
20-
// RUN: cd %t && %swiftc_driver ./main.swift ./other.swift ./yet-another.swift -incremental -output-file-map %t/output.json
21-
22-
// RUN: echo '{version: "'$(%swiftc_driver_plain -version | head -n1)'", inputs: {"./main.swift": [443865900, 0], "./other.swift": [443865900, 0], "./yet-another.swift": [443865900, 0]}, build_time: [443865901, 0]}' > %t/main~buildrecord.swiftdeps
23-
24-
2515
// RUN: cd %t && %swiftc_driver -driver-print-bindings ./main.swift ./other.swift ./yet-another.swift -incremental -output-file-map %t/output.json 2>&1 -driver-show-incremental -driver-show-job-lifecycle |tee /tmp/x| %FileCheck %s -check-prefix=NO-EXEC
2616

2717
// NO-EXEC: inputs: ["{{(\.\/)?}}main.swift"], output: {{[{].*[}]}}{{(, condition: check-dependencies)?}}

0 commit comments

Comments
 (0)