Skip to content

Commit a774255

Browse files
committed
[Test][Interfacehash] Rewrite cp commands for Lit shell
Convert `// RUN: cp %t/{a,x}.swift` to `// RUN: cp %t/a.swift %t/x.swift` in InterfaceHash test for compatibility with LLVM Lit interal shell.
1 parent 9683569 commit a774255

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.swiftt
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)