File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4
4
// at one point.
5
5
// RUN: for i in {1..1100}; do echo "public func foo$i() {}" > %t/$i.swift; echo "CHECK: foo$i" >> %t/check.txt; done
6
6
7
- // RUN: %target-build-swift -force-single-frontend-invocation -emit-library %t/*.swift -o %t/libWMO
7
+ // We're not using %target-swift-build because we don't want to run into any
8
+ // limits *xcrun* has on arguments.
9
+ // RUN: %swiftc_driver -sdk "" -target %target-triple -force-single-frontend-invocation -emit-library %t/*.swift -o %t/libWMO
8
10
// RUN: nm %t/libWMO | FileCheck %t/check.txt
9
11
10
- // RUN: %target-build-swift -force-single-frontend-invocation -num-threads 1 -emit-library %t/*.swift -o %t/libWMOThreaded
12
+ // RUN: %swiftc_driver -sdk "" -target %target-triple -force-single-frontend-invocation -num-threads 1 -emit-library %t/*.swift -o %t/libWMOThreaded
11
13
// RUN: nm %t/libWMOThreaded | FileCheck %t/check.txt
12
14
13
15
// This is very slow due to process overhead. It's also doing one file at a time
14
16
// because we don't have a good way for lit tests to claim more than one thread.
15
17
// But it's still important to check.
16
- // RUN: %target-build-swift -emit-library %t/*.swift -o %t/libMultiFile
18
+ // RUN: %swiftc_driver -sdk "" -target %target-triple -emit-library %t/*.swift -o %t/libMultiFile
17
19
// RUN: nm %t/libMultiFile | FileCheck %t/check.txt
18
20
You can’t perform that action at this time.
0 commit comments