Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update coreclr test run scripts (#95237)
* Update coreclr test run scripts 1. When running tests, create a new unique 'logs' directory for every run, to avoid overwriting the results of previous runs. First, use "artifacts\log". Then, use "log.1", "log.2", etc. 2. Add a run.py `-logs_dir` argument (run.cmd: `logsdir`; run.sh: `-logsDir`) to allow specifying a particular logs directory name. This can be useful if you have multiple test run results logs directory and you want to use `--analyze_results_only` (run.cmd: `printlastresultsonly`) to analyze a run that is not the last logs directory. 3. Remove the unnecessary run.py `--skip_test_run` argument. It was added to use the logic to precompile the libraries, but that logic is now gone. 4. Move generated repro files for failed tests to the "log\repro" directory, and name them with a `repro_` filename prefix. 5. Print out the path of all repro files that are created. 6. Add a `setlocal` to the generated Windows repro files. 7. Misc. minor improvements. Contributes to #95032 * Try to fix Linux repros * Remove automatic creation of new 'log' directories Also, fix repro creation for non-BuildAsStandalone by bailing; we don't know how to create those repros. Fix repro creation for BuildAsStandalone. Improve some output messages and code comments.
- Loading branch information