Skip to content

Commit 0c03f1c

Browse files
authored
Merge pull request #70071 from bnbarham/split-file-ify
[Test] Use split-file rather than split_file.py
2 parents 3bfd116 + b2da814 commit 0c03f1c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/embedded/modules-globals-many.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %{python} %utils/split_file.py -o %t %s
2+
// RUN: split-file %s %t
33

44
// RUN: %target-swift-frontend -emit-module -I %t -o %t/MyModuleA.swiftmodule %t/MyModuleA.swift -enable-experimental-feature Embedded -parse-as-library
55
// RUN: %target-swift-frontend -emit-module -I %t -o %t/MyModuleB.swiftmodule %t/MyModuleB.swift -enable-experimental-feature Embedded -parse-as-library
@@ -16,25 +16,25 @@
1616
// ModuleA ◀──┤ ├─── Main
1717
// └─── ModuleC ◀─┘
1818

19-
// BEGIN MyModuleA.swift
19+
//--- MyModuleA.swift
2020

2121
public var global = 0
2222

2323
public func foo() { global += 1 }
2424

25-
// BEGIN MyModuleB.swift
25+
//--- MyModuleB.swift
2626

2727
import MyModuleA
2828

2929
public func foo() { global += 1 }
3030

31-
// BEGIN MyModuleC.swift
31+
//--- MyModuleC.swift
3232

3333
import MyModuleA
3434

3535
public func foo() { global += 1 }
3636

37-
// BEGIN Main.swift
37+
//--- Main.swift
3838

3939
import MyModuleB
4040
import MyModuleC

0 commit comments

Comments
 (0)