[docs] Document lit's --timeout=N flag

This commit is contained in:
Jon Roelofs 2020-04-22 12:56:22 -06:00
parent c19c3293d3
commit b3f168274d
1 changed files with 12 additions and 4 deletions

View File

@ -165,10 +165,8 @@ SELECTION OPTIONS
.. option:: --max-time=N
Spend at most ``N`` seconds (approximately) running tests and then terminate.
.. option:: --shuffle
Run the tests in a random order.
Note that this is not an alias for :option:``--timeout=N``; the two are
different kinds of maximums.
.. option:: --num-shards=M
@ -187,6 +185,16 @@ SELECTION OPTIONS
must be in the range ``1..M``. The environment variable
``LIT_RUN_SHARD`` can also be used in place of this option.
.. option:: --shuffle
Run the tests in a random order.
.. option:: --timeout=N
Spend at most ``N`` seconds (approximately) running each individual test.
``0`` means no time limit, and ``0`` is the default. Note that this is not an
alias for :option:``--max-time=N``; the two are different kinds of maximums.
.. option:: --filter=REGEXP
Run only those tests whose name matches the regular expression specified in