diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-02-27 08:21:13 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-02-27 15:25:05 -0500 |
| commit | d3c863997513be81c0c52ef209a57360b771d9e1 (patch) | |
| tree | 65e5dde55954ea3645004d9b597d04d93b10bff7 /test cases/python | |
| parent | 1412abc516e56b7d90f36fc75acb3e4b8c294e30 (diff) | |
| download | meson-d3c863997513be81c0c52ef209a57360b771d9e1.tar.gz | |
mtest: add option to slice tests
Executing tests can take a very long time. As an example, the Git test
suite on Windows takes around 4 hours to execute. The Git project has
been working around the issue by splitting up CI jobs into multiple
slices: one job creates the build artifacts, and then we spawn N test
jobs with those artifacts, where each test job executes 1/Nth of the
tests.
This can be scripted rather easily by using `meson test --list`,
selecting every Nth line, but there may be other projects that have a
similar need. Wire up a new option "--slice i/n" to `meson test` that
does implements this logic.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Diffstat (limited to 'test cases/python')
0 files changed, 0 insertions, 0 deletions
