Skip to content

Commit e2219b9

Browse files
authored
Merge pull request #3073 from YOCKOW/fix-typos-GettingStarted.md
2 parents d29bc22 + 113cd15 commit e2219b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Docs/GettingStarted.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Build and test steps:
3737
In order to increase the compatibility between corelibs-foundation and the native Foundation shipped with macOS, there is another Xcode project in the `swift-corelibs-foundation` repository called `DarwinCompatibilityTests.xcodeproj`. This project just runs all of the `TestFoundation` tests using native Foundation. Ideally, any new test written for corelibs-foundation should be tested against
3838
native Foundation to validate that that test is correct. The tests can be run individually using the Test navigator in the left hand pane.
3939

40-
It should be noted that not all tests currently run correctly either due to differences between the two implentations, the test being used to validate some
41-
intenal functionality of corelibs-foundation or the test (and the implementation) actually being incorrect. Overtime these test differences should be reduced as compatibility is increased.
40+
It should be noted that not all tests currently run correctly either due to differences between the two implementations, the test being used to validate some
41+
internal functionality of corelibs-foundation or the test (and the implementation) actually being incorrect. Overtime these test differences should be reduced as compatibility is increased.
4242

4343

4444
## On Linux
@@ -58,8 +58,8 @@ The default build script does not include Foundation. To configure and build Fou
5858

5959
The build artifacts will be written to the subdirectory `build/Ninja-ReleaseAssert`. To use a different build directory set the `SWIFT_BUILD_ROOT` environment variable to point to a different directory to use instead of `build`.
6060

61-
When developing on Foundation, it is simplest to write tests to check the functionality, even if the test is not something that can be used in the final PR, e.g. it runs continously to demostrate a memory leak. Tests are added
62-
to the appropiate file in the `TestFoundation` directory, and remember to add the test in to the `allTests` array in that file.
61+
When developing on Foundation, it is simplest to write tests to check the functionality, even if the test is not something that can be used in the final PR, e.g. it runs continuously to demonstrate a memory leak. Tests are added
62+
to the appropriate file in the `TestFoundation` directory, and remember to add the test in to the `allTests` array in that file.
6363

6464
After the complete Swift build has finished you can iterate over changes you make to Foundation using `cmake` to build `TestFoundation` and run the tests.
6565
Note that `cmake` needs to be a relatively recent version, currently 3.15.1, and if this is not installed already
@@ -73,7 +73,7 @@ then it is built as part of the `build-script` invocation. Therefore `cmake` may
7373
% $SWIFT_BUILD_ROOT=build $BUILD_ROOT/cmake-linux-x86_64/bin/cmake --build $BUILD_ROOT/Ninja-ReleaseAssert/foundation-linux-x86_64/ -v -- -j4 test
7474
```
7575

76-
If `TestFoundation` needs to be run outside of `ctest`, perhaps to run under `lldb` or to run individual tests, then it can be run directly but an appropiate `LD_LIBRARY_PATH`
76+
If `TestFoundation` needs to be run outside of `ctest`, perhaps to run under `lldb` or to run individual tests, then it can be run directly but an appropriate `LD_LIBRARY_PATH`
7777
needs to be set so that `libdispatch` and `libXCTest` can be found.
7878

7979
```
@@ -84,7 +84,7 @@ needs to be set so that `libdispatch` and `libXCTest` can be found.
8484
To run only one test class or a single test, the tests to run can be specified as a command argument in the form of `TestFoundation.<TestClass>{/testName}` eg to run all of the tests in `TestDate` use
8585
`TestFoundation.TestDate`. To run just `test_BasicConstruction`, use `TestFoundation.TestDate/test_BasicConstruction`.
8686

87-
If the tests need to be run under `lldb`, use the following comand:
87+
If the tests need to be run under `lldb`, use the following command:
8888

8989
```
9090
% export BUILD_DIR=build/Ninja-ReleaseAssert

0 commit comments

Comments
 (0)