Skip to content

Commit 79f296d

Browse files
authored
[mono][docs] Reflect current workflow of building individual runtime tests
Due to optimizing effort of building and running runtime tests #54512, some tests don't generate `*.sh` files by default after build. It is necessary to `export BuildAsStandalone=true` or modify the test's `.csproj` file. --- Contributes to: #90254
1 parent 2987aba commit 79f296d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/workflow/testing/mono/testing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ cd src/tests
2020
./build.sh mono <release|debug>
2121
```
2222

23-
To build an individual test, test directory, or a whole subdirectory tree, use the `-test:`, `-dir:` or `-tree:` options (without the src/tests prefix)
24-
For example: `./build.sh mono release -test:JIT/opt/InstructionCombining/DivToMul.csproj`
23+
To build an individual test, test directory, or a whole subdirectory tree, use the `-test:`, `-dir:` or `-tree:` options (without the src/tests prefix).
24+
For example: `./build.sh mono release -test:JIT/opt/InstructionCombining/DivToMul.csproj`. To generate `*.sh` files for tests that are not designed to be run individualy it is necessary to `export BuildAsStandalone=true` before building the test.
2525

2626

2727
Run individual test:

0 commit comments

Comments
 (0)