1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-11 18:20:26 +09:00

Use simpler command in example for building individual coreclr test (#51364)

* Use simpler command in example for building individual coreclr test

* Remove comment about using 'dotnet msbuild'
This commit is contained in:
Elinor Fung 2021-04-16 10:56:28 -07:00 committed by GitHub
parent 95f06ff500
commit 189829cbf6
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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