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

Update coreclr test doc to call out LibrariesConfiguration (#50002)

Include build configuration in error message about missing artifacts
This commit is contained in:
Elinor Fung 2021-03-22 18:02:26 -07:00 committed by GitHub
parent 8722cdac9b
commit 5738f60553
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 8 deletions

View file

@ -18,6 +18,12 @@ To build the tests on Unix:
./src/tests/build.sh
```
By default, the test build uses Release as the libraries configuration. To use a different configuration, set the `LibrariesConfiguration` property to the desired configuration. For example:
```
./src/tests/build.sh /p:LibrariesConfiguration=Debug
```
Please note that this builds the Priority 0 tests. To build priority 1:
```sh

View file

@ -9,6 +9,12 @@ Building coreclr tests must be done using a specific script as follows:
src\tests\build.cmd
```
By default, the test build uses Release as the libraries configuration. To use a different configuration, set the `LibrariesConfiguration` property to the desired configuration. For example:
```
src\tests\build.cmd /p:LibrariesConfiguration=Debug
```
## Building Precompiled Tests
```
@ -106,4 +112,4 @@ If you wish to run the test under a debugger (e.g. [WinDbg](http://msdn.microsof
## Modifying a test
If test changes are needed, make the change, and re-build the test project. This will binplace the binaries in the test binaries folder (e.g. `<repo_root>\artifacts\tests\coreclr\windows.x64.Checked\Exceptions\Finalization`). Then re-run the test following the instructions above.
If test changes are needed, make the change, and re-build the test project. This will binplace the binaries in the test binaries folder (e.g. `<repo_root>\artifacts\tests\coreclr\windows.x64.Checked\Exceptions\Finalization`). Then re-run the test following the instructions above.