mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #83335 from gottesmm/pr-6683b32974d47cc3fe1d808bb0139ee945538c76
[swift-snapshot-tool] Two small improvements to the README.md
This commit is contained in:
@@ -23,6 +23,10 @@ value is at. This allows for one to get a sense of the range of time in between
|
|||||||
two bisect numbers since one can look at the range in between them and how time
|
two bisect numbers since one can look at the range in between them and how time
|
||||||
varies.
|
varies.
|
||||||
|
|
||||||
|
One can specify a branch of snapshots to list. By default uses
|
||||||
|
--development. Also supports the options --release_5_0, --release_6_0,
|
||||||
|
--release_6_2.
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -56,7 +60,8 @@ Options:
|
|||||||
an error was fixed.
|
an error was fixed.
|
||||||
|
|
||||||
- branch: This controls the specific branch of snapshots that are downloaded. By
|
- branch: This controls the specific branch of snapshots that are downloaded. By
|
||||||
default uses development. Also supports the options 5.0 and 6.0.
|
default uses --development. Also supports the options --release_5_0,
|
||||||
|
--release_6_0, --release_6_2.
|
||||||
|
|
||||||
## Bisect
|
## Bisect
|
||||||
|
|
||||||
@@ -94,4 +99,17 @@ Options:
|
|||||||
an error was fixed.
|
an error was fixed.
|
||||||
|
|
||||||
- branch: This controls the specific branch of snapshots that are downloaded. By
|
- branch: This controls the specific branch of snapshots that are downloaded. By
|
||||||
default uses development. Also supports the options 5.0 and 6.0.
|
default uses --development. Also supports the options --release_5_0,
|
||||||
|
--release_6_0, --release_6_2.
|
||||||
|
|
||||||
|
# FAQ and Helpful Tips
|
||||||
|
|
||||||
|
## Bisecting against examples using Swift Testing
|
||||||
|
|
||||||
|
Swift Testing is not stored in the normal place in a toolchain. To test against
|
||||||
|
such an example that uses swift testing pass into ones script the following -I
|
||||||
|
command:
|
||||||
|
|
||||||
|
```
|
||||||
|
xcrun ${SWIFTC} "${@:1}" -o binary -parse-as-library -I ${SWIFT_LIBRARY_PATH}/testing
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user