Commit 10c9a33
Update and create documentation in build.cmd and build.sh for CoreCLR test builds (#126951)
## Summary
Updates the help text/documentation in `src/tests/build.cmd` and
`src/tests/build.sh` for the CoreCLR test build scripts.
## Changes
### `src/tests/build.cmd`
- Added `wasm` to the list of valid build architectures in the usage
section
- Added an **OS targeting** section documenting `os <value>`, `browser`
(shorthand for `os browser`), and `wasi` (shorthand for `os wasi`)
options
- Added `-CoreCLR` to the usage section (the option was implemented in
the code but missing from the help text)
### `src/tests/build.sh`
- Added an **OS targeting** section to `usage_list` documenting the `-os
<value>` option (handled by the common build framework), listing common
OS values, and noting that native test components are automatically
skipped for mobile/device targets (`android`, `ios`, `iossimulator`,
`tvos`, `tvossimulator`)
- Added `-coreclr` to `usage_list` (the option was implemented in the
code but missing from the help text)
- Fixed escaped characters (`^(`, `^)`) and Windows-style backslashes in
path examples that were incorrectly copied from the Windows batch script
## Command sync check
| Option | build.cmd | build.sh |
|---|---|---|
| OS targeting | `os <value>`, `browser`, `wasi` | `-os <value>` (via
common framework) |
| Architecture | `x64`, `x86`, `arm64`, `wasm` | Same (via common
framework) |
| `-CoreCLR` / `-coreclr` | ✅ (now documented) | ✅ (now documented) |
| `-Mono` / `-ExcludeMonoFailures` | ✅ | ✅ |
| `-mono_aot`, `-mono_fullaot` | ❌ (Linux/macOS only) | ✅ |
| `-runtests` | ❌ (Windows: run manually via `run.cmd`) | ✅ |
| `-MSBuild` | ✅ | Use `-ninja false` via common framework |
| `-PDB` | ✅ (Windows-only PDB format) | ❌ (not applicable) |
> [!NOTE]
> This PR was generated by GitHub Copilot.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: davidwrighton <10779849+davidwrighton@users.noreply.github.com>
Co-authored-by: David Wrighton <davidwr@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 63e0510 commit 10c9a33
2 files changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
361 | 367 | | |
362 | 368 | | |
363 | 369 | | |
| |||
374 | 380 | | |
375 | 381 | | |
376 | 382 | | |
| 383 | + | |
377 | 384 | | |
378 | 385 | | |
379 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
| |||
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
| 163 | + | |
157 | 164 | | |
158 | 165 | | |
159 | 166 | | |
160 | | - | |
161 | | - | |
162 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
163 | 170 | | |
164 | 171 | | |
165 | 172 | | |
| |||
0 commit comments