Skip to content

Commit 4175f0d

Browse files
author
David Ungar
authored
Merge pull request #36769 from davidungar/fix-lit-tests-for-driver-fix
[Incremental] Revise lit tests that were broken in swiftlang/swift-driver#580
2 parents a7b3468 + e383d34 commit 4175f0d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/Driver/Dependencies/dependencies-preservation-fine.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Verify that the top-level build record file from the last incremental
33
// compilation is preserved with the same name, suffixed by a '~'.
44

5-
// REQUIRES: rdar76238077
6-
75
// RUN: %empty-directory(%t)
86
// RUN: cp -r %S/Inputs/one-way-fine/* %t
97
// RUN: %{python} %S/Inputs/touch.py 443865900 %t/*
@@ -16,7 +14,7 @@
1614
// RUN: %FileCheck -check-prefix CHECK-OVERWRITTEN %s < main~buildrecord.swiftdeps
1715
// CHECK-OVERWRITTEN: version: "{{.*}}"
1816
// CHECK-OVERWRITTEN: options: "{{.*}}"
19-
// CHECK-OVERWRITTEN: build_time: [{{[0-9]*}}, {{[0-9]*}}]
17+
// CHECK-OVERWRITTEN: build_{{(start_)?}}time: [{{[0-9]*}}, {{[0-9]*}}]
2018
// CHECK-OVERWRITTEN: inputs:
2119
// CHECK-OVERWRITTEN: "{{(./)?}}main.swift": [443865900, 0]
2220
// CHECK-OVERWRITTEN: "{{(./)?}}other.swift": [443865900, 0]

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/// other ==> main
22

3-
// REQUIRES: rdar76238077
4-
53
// RUN: %empty-directory(%t)
64
// RUN: cp -r %S/Inputs/one-way-fine/* %t
75
// RUN: touch -t 201401240005 %t/*
@@ -14,7 +12,7 @@
1412
// CHECK-FIRST: Produced master.swiftmodule
1513

1614
// swift-driver checks existence of all outputs
17-
// RUN: touch -t 201401240006 %t/{main,other}.swift{module,doc,sourceinfo}
15+
// RUN: touch -t 201401240006 %t/{main,other,master}.swift{module,doc,sourceinfo}
1816

1917
// 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
2018

0 commit comments

Comments
 (0)