mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:03:33 +03:00
runtests: introduce a subset option
To make it easier to run different subsets of the tests in separate invokes. Closes #22616
This commit is contained in:
parent
58cb1e2f1f
commit
e669179681
2 changed files with 47 additions and 0 deletions
|
|
@ -260,6 +260,24 @@ script randomly discards entries to fail until the amount is **num**.
|
|||
The random seed initially set for this is fixed per month and can be set with
|
||||
*--seed*.
|
||||
|
||||
## `--subset=<section>/<parts>`
|
||||
|
||||
Tell runtests to run a subset of the available tests. The test selection is
|
||||
done first based on existing options. The list of selected tests is then
|
||||
divided into a number of *parts*. The selected *section* specifier is the
|
||||
set of tests this invoke runs. Note that both numbers must be provided and
|
||||
*section* is zero indexed so it must be smaller than *parts*.
|
||||
|
||||
Using this option you can for example split up an identical test run into
|
||||
three separate invokes that combined run all the tests:
|
||||
|
||||
./runtests.pl --subset=0/3
|
||||
./runtests.pl --subset=1/3
|
||||
./runtests.pl --subset=2/3
|
||||
|
||||
This option works fine in combination with `-R` but consider also using
|
||||
`--seed` for that.
|
||||
|
||||
## `-t[num]`
|
||||
|
||||
Selects a **torture** test for the given tests. This makes runtests.pl first
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue