Skip to content

Commit 6b2db34

Browse files
authored
Merge pull request #83335 from gottesmm/pr-6683b32974d47cc3fe1d808bb0139ee945538c76
[swift-snapshot-tool] Two small improvements to the README.md
2 parents 94cf963 + f7251e5 commit 6b2db34

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

utils/swift_snapshot_tool/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ value is at. This allows for one to get a sense of the range of time in between
2323
two bisect numbers since one can look at the range in between them and how time
2424
varies.
2525

26+
One can specify a branch of snapshots to list. By default uses
27+
--development. Also supports the options --release_5_0, --release_6_0,
28+
--release_6_2.
29+
2630
## Run
2731

2832
```
@@ -56,7 +60,8 @@ Options:
5660
an error was fixed.
5761

5862
- branch: This controls the specific branch of snapshots that are downloaded. By
59-
default uses development. Also supports the options 5.0 and 6.0.
63+
default uses --development. Also supports the options --release_5_0,
64+
--release_6_0, --release_6_2.
6065

6166
## Bisect
6267

@@ -94,4 +99,17 @@ Options:
9499
an error was fixed.
95100

96101
- branch: This controls the specific branch of snapshots that are downloaded. By
97-
default uses development. Also supports the options 5.0 and 6.0.
102+
default uses --development. Also supports the options --release_5_0,
103+
--release_6_0, --release_6_2.
104+
105+
# FAQ and Helpful Tips
106+
107+
## Bisecting against examples using Swift Testing
108+
109+
Swift Testing is not stored in the normal place in a toolchain. To test against
110+
such an example that uses swift testing pass into ones script the following -I
111+
command:
112+
113+
```
114+
xcrun ${SWIFTC} "${@:1}" -o binary -parse-as-library -I ${SWIFT_LIBRARY_PATH}/testing
115+
```

0 commit comments

Comments
 (0)