Skip to content

Commit 41636dd

Browse files
authored
Merge pull request #21526 from nordicio/testing-docs
[Doc] Testing lit.py example uses macosx-x86_64 environment
2 parents 15bc2af + 0a3f387 commit 41636dd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/Testing.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,23 @@ development cycle. To invoke LLVM's `lit.py` script directly, it must be
5656
configured to use your local build directory. For example:
5757

5858
```
59-
% ${LLVM_SOURCE_ROOT}/utils/lit/lit.py -sv ${SWIFT_BUILD_DIR}/test-iphonesimulator-i386/Parse/
59+
% ${LLVM_SOURCE_ROOT}/utils/lit/lit.py -sv ${SWIFT_BUILD_DIR}/test-macosx-x86_64/Parse/
6060
```
6161

62-
This runs the tests in the 'test/Parse/' directory targeting the 32-bit iOS
63-
Simulator. The ``-sv`` options give you a nice progress bar and only show you
62+
This runs the tests in the 'test/Parse/' directory targeting 64-bit macOS.
63+
The ``-sv`` options give you a nice progress bar and only show you
6464
output from the tests that fail.
6565

6666
One downside of using this form is that you're appending relative paths from
6767
the source directory to the test directory in your build directory. (That is,
6868
there may not actually be a directory named 'Parse' in
69-
'test-iphonesimulator-i386/'; the invocation works because there is one in the
69+
'test-macosx-x86_64/'; the invocation works because there is one in the
7070
source 'test/' directory.) There is a more verbose form that specifies the
7171
testing configuration explicitly, which then allows you to test files
7272
regardless of location.
7373

7474
```
75-
% ${LLVM_SOURCE_ROOT}/utils/lit/lit.py -sv --param swift_site_config=${SWIFT_BUILD_DIR}/test-iphonesimulator-i386/lit.site.cfg ${SWIFT_SOURCE_ROOT}/test/Parse/
75+
% ${LLVM_SOURCE_ROOT}/utils/lit/lit.py -sv --param swift_site_config=${SWIFT_BUILD_DIR}/test-macosx-x86_64/lit.site.cfg ${SWIFT_SOURCE_ROOT}/test/Parse/
7676
```
7777

7878
For more complicated configuration, copy the invocation from one of the build

0 commit comments

Comments
 (0)