Skip to content

Commit 9f30c85

Browse files
authored
Merge pull request #84570 from RamonAsuncion/fix-interface-hash-cp-commands
[Test][InterfaceHash] Rewrite cp commands for Lit shell
2 parents b1f37f6 + 4a16272 commit 9f30c85

13 files changed

+26
-26
lines changed

test/InterfaceHash/added_method-type.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// RUN: %empty-directory(%t)
55
// RUN: %{python} %utils/split_file.py -o %t %s
6-
// RUN: cp %t/{a,x}.swift
6+
// RUN: cp %t/a.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
9-
// RUN: cp %t/{b,x}.swift
9+
// RUN: cp %t/b.swift %t/x.swift
1010
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
1111
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
1212

test/InterfaceHash/added_private_class_private_property.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %{python} %utils/split_file.py -o %t %s
3-
// RUN: cp %t/{a,x}.swift
3+
// RUN: cp %t/a.swift %t/x.swift
44
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
55
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
6-
// RUN: cp %t/{b,x}.swift
6+
// RUN: cp %t/b.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
99

test/InterfaceHash/added_private_class_property.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %{python} %utils/split_file.py -o %t %s
3-
// RUN: cp %t/{a,x}.swift
3+
// RUN: cp %t/a.swift %t/x.swift
44
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
55
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
6-
// RUN: cp %t/{b,x}.swift
6+
// RUN: cp %t/b.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
99

test/InterfaceHash/added_private_enum_private_property.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// RUN: %empty-directory(%t)
55
// RUN: %{python} %utils/split_file.py -o %t %s
6-
// RUN: cp %t/{a,x}.swift
6+
// RUN: cp %t/a.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
9-
// RUN: cp %t/{b,x}.swift
9+
// RUN: cp %t/b.swift %t/x.swift
1010
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
1111
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
1212

test/InterfaceHash/added_private_enum_property.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// RUN: %empty-directory(%t)
55
// RUN: %{python} %utils/split_file.py -o %t %s
6-
// RUN: cp %t/{a,x}.swift
6+
// RUN: cp %t/a.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
9-
// RUN: cp %t/{b,x}.swift
9+
// RUN: cp %t/b.swift %t/x.swift
1010
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
1111
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
1212

test/InterfaceHash/added_private_method.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// RUN: %empty-directory(%t)
55
// RUN: %{python} %utils/split_file.py -o %t %s
6-
// RUN: cp %t/{a,x}.swift
6+
// RUN: cp %t/a.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
9-
// RUN: cp %t/{b,x}.swift
9+
// RUN: cp %t/b.swift %t/x.swift
1010
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
1111
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
1212

test/InterfaceHash/added_private_method_value_types.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// RUN: %empty-directory(%t)
55
// RUN: %{python} %utils/split_file.py -o %t %s
6-
// RUN: cp %t/{a,x}.swift
6+
// RUN: cp %t/a.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
9-
// RUN: cp %t/{b,x}.swift
9+
// RUN: cp %t/b.swift %t/x.swift
1010
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
1111
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
1212

test/InterfaceHash/added_private_protocol_method.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// RUN: %empty-directory(%t)
55
// RUN: %{python} %utils/split_file.py -o %t %s
6-
// RUN: cp %t/{a,x}.swift
6+
// RUN: cp %t/a.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
9-
// RUN: cp %t/{b,x}.swift
9+
// RUN: cp %t/b.swift %t/x.swift
1010
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
1111
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
1212

test/InterfaceHash/added_private_protocol_property.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// RUN: %empty-directory(%t)
55
// RUN: %{python} %utils/split_file.py -o %t %s
6-
// RUN: cp %t/{a,x}.swift
6+
// RUN: cp %t/a.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
9-
// RUN: cp %t/{b,x}.swift
9+
// RUN: cp %t/b.swift %t/x.swift
1010
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
1111
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
1212

test/InterfaceHash/added_private_struct_private_property.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// RUN: %empty-directory(%t)
55
// RUN: %{python} %utils/split_file.py -o %t %s
6-
// RUN: cp %t/{a,x}.swift
6+
// RUN: cp %t/a.swift %t/x.swift
77
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
88
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/a-processed.swiftdeps
9-
// RUN: cp %t/{b,x}.swift
9+
// RUN: cp %t/b.swift %t/x.swift
1010
// RUN: %target-swift-frontend -typecheck -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main
1111
// RUN: %{python} %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.py %swift-dependency-tool %t/x.swiftdeps > %t/b-processed.swiftdeps
1212

0 commit comments

Comments
 (0)