Skip to content

Commit 0a3d2d5

Browse files
committed
[docs] Update Testing.md
1 parent dca0209 commit 0a3d2d5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/Testing.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ We use multiple approaches to test the Swift toolchain.
2424
locally before committing. (Usually on a single platform, and not necessarily
2525
all tests.)
2626
* Buildbots run all tests, on all supported platforms.
27+
[Smoke testing](ContinuousIntegration.md#smoke-testing)
28+
skips the iOS, tvOS, and watchOS platforms.
29+
30+
The [test/lit.cfg](https://github.com/apple/swift/blob/master/test/lit.cfg)
31+
uses an iOS 10.3 simulator configuration named "iPhone 5" for 32-bit testing.
32+
33+
1. Download and install the iOS 10.3 simulator runtime, in Xcode's
34+
[Components](https://help.apple.com/xcode/#/deva7379ae35) preferences.
35+
36+
2. Create an "iPhone 5" simulator configuration, either in Xcode's
37+
[Devices and Simulators](https://help.apple.com/xcode/#/devf225e58da)
38+
window, or with the command line:
39+
40+
```sh
41+
xcrun simctl create 'iPhone 5' 'com.apple.CoreSimulator.SimDeviceType.iPhone-5'
42+
```
43+
44+
3. Append `--ios` to the `utils/build-script` command line (see below).
2745

2846
### Testsuite subsets
2947

0 commit comments

Comments
 (0)