Sync run.sh and run.cmd options with run.py#125511
Conversation
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
- Fix bug in run.sh: passes '--tieringtest' to run.py but run.py expects '--tiering_test' - Add '--parallel=<type>' option to run.sh (was in run.cmd but missing from run.sh) - Add 'verbose' option to run.cmd (was in run.sh but missing from run.cmd) - Add 'limitedDumpGeneration' option to run.cmd (was in run.sh but missing from run.cmd) Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com>
|
@copilot make sure all the flags that are accepted are in the help menus too. |
…; fix empty description in run.sh Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com>
Done in b79eb42:
|
|
@copilot Add the |
… comment Co-authored-by: jtschuster <36744439+jtschuster@users.noreply.github.com>
Done in 2c43f5e — removed the "intentionally undocumented" comment and added |
Description
run.shandrun.cmdwere missing several options accepted byrun.py, andrun.shhad a bug where it passed--tieringtesttorun.pywhich only recognizes--tiering_test(causing the argument to be silently ignored or fail). Additionally, several flags accepted by both scripts were missing from their help menus, and one option was intentionally hidden.run.sh--tieringtest→--tiering_testwhen forwarding torun.py--parallel=<type>option (none,collections,assemblies,all) — already present inrun.cmd, missing fromrun.sh--limitedDumpGeneration(previously had an empty description)run.cmdverbose— passes--verbosetorun.py; already inrun.sh, missing fromrun.cmdlimitedDumpGeneration— passes--limited_core_dumpstorun.py; already inrun.sh, missing fromrun.cmdtieringtest,runnativeaottests, andrunlargeversionbubblecrossgen2teststo the help menu — they were accepted by the argument parser but not documentedverbose,limitedDumpGeneration,interpreter, andnodeentries in the help sectionrunlargeversionbubblecrossgen2tests; option is now documented as experimentalChanges
src/tests/run.shsrc/tests/run.cmdTesting
Shell script syntax verified (
bash -n). No build artifacts affected.Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.