diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2020-06-15 13:18:56 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-06-15 13:56:01 +0900 |
| commit | 8f99bfa26d0bd99089f0f38af3666a89e8432265 (patch) | |
| tree | f3e553f22ce324b4c4e7d7d6fa591fe3880a9bd7 /spec/ruby/shared | |
| parent | 094fb6ae0d1df90751a3d0a5c90f97cd96550f16 (diff) | |
tool/lib/minitest/unit.rb: Reproducible shuffle of test suites
... based on CRC32 of names of the test suites.
Formerly, `make test-all` randomized the order of the test suites by
using `Array#shuffle`. It also shows `--seed N` to reproduce the order,
but it was not reproducible when a suite set is different.
This change sorts the suites by CRC32 hash of the suite names with a
salt generated by the seed.
Diffstat (limited to 'spec/ruby/shared')
0 files changed, 0 insertions, 0 deletions
