Skip to content

Commit

Permalink
Use simpler command in example for building individual coreclr test (#…
Browse files Browse the repository at this point in the history
…51364)

* Use simpler command in example for building individual coreclr test

* Remove comment about using 'dotnet msbuild'
  • Loading branch information
elinor-fung authored Apr 16, 2021
1 parent 95f06ff commit 189829c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/workflow/testing/coreclr/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Note: CoreCLR must be built prior to building an individual test. See the first
* It is possible to explicitly run only the native test build with `build.sh/cmd skipmanaged`
* Managed Test: Invoke `dotnet build` on the project directly. `dotnet` can be the `dotnet.sh` or `dotnet.cmd` script in the repo root.
```
<runtime-repo-root>/dotnet.sh build <runtime-repo-root>/src/tests/JIT/CodegenBringupTests/Array1_d.csproj /p:Configuration=Release
<runtime-repo-root>/dotnet.sh build <runtime-repo-root>/src/tests/<path-to-project> -c <configuration>
```
* To build managed test projects with dependencies on native test projects, the native test project must first be built. The managed test should then be built using `dotnet build --no-restore` or `dotnet msbuild` to skip restoring.
* To build managed test projects with dependencies on native test projects, the native test project must first be built. The managed test should then be built using `dotnet build --no-restore` to skip restoring.

## Additional Documents

Expand Down

0 comments on commit 189829c

Please sign in to comment.