diff options
author | MichaĆ Zegan <webczat@outlook.com> | 2022-02-03 14:35:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 14:35:43 +0300 |
commit | e836ce548a4f6de6c78c6fea14ad3394e576e3fb (patch) | |
tree | 3bfbf8168f17b74802e37f7c8028744cfa1590b9 /docs | |
parent | d7fd082f999f332ca9628bff9d59059e64457b21 (diff) |
Fix test build command in docs/workflow/building/coreclr/nativeaot.md (#64690)
The command `src/tests/build[.cmd|.sh] nativeaot [Debug|Release] tree nativeaot` seems not to work as expected.
Namely it seems to build not only the nativeaot smoke tests.
Fixed to be `src\tests\build[.cmd|.sh] -nativeaot [Debug|Release] -tree:nativeaot`
Diffstat (limited to 'docs')
-rw-r--r-- | docs/workflow/building/coreclr/nativeaot.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/workflow/building/coreclr/nativeaot.md b/docs/workflow/building/coreclr/nativeaot.md index 3206fc7349c..155ed05186e 100644 --- a/docs/workflow/building/coreclr/nativeaot.md +++ b/docs/workflow/building/coreclr/nativeaot.md @@ -59,7 +59,7 @@ The workflow looks like this: ## Running tests -If you haven't built the tests yet, run `src\tests\build[.cmd|.sh] nativeaot [Debug|Release] tree nativeaot`. This will build the smoke tests only - they usually suffice to ensure the runtime and compiler is in a workable shape. To build all Pri-0 tests, drop the `tree nativeaot` parameter. The `Debug`/`Release` parameter should match the build configuration you used to build the runtime. +If you haven't built the tests yet, run `src\tests\build.cmd nativeaot [Debug|Release] tree nativeaot` on Windows, or `src/tests/build.sh -nativeaot [Debug|Release] -tree:nativeaot` on Linux. This will build the smoke tests only - they usually suffice to ensure the runtime and compiler is in a workable shape. To build all Pri-0 tests, drop the `tree nativeaot` parameter. The `Debug`/`Release` parameter should match the build configuration you used to build the runtime. To run all the tests that got built, run `src\tests\run.cmd runnativeaottests [Debug|Release]` on Windows, or `src/tests/run.sh --runnativeaottests [Debug|Release]` on Linux. The `Debug`/`Release` flag should match the flag that was passed to `build.cmd` in the previous step. |