Skip to content

Commit 009ce5e

Browse files
committed
Update command guide
1 parent fa4abfd commit 009ce5e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

llvm/docs/CommandGuide/lit.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,19 @@ EXECUTION OPTIONS
218218

219219
Stop execution after the given number of failures.
220220

221+
.. option:: --max-retries-per-test N
222+
223+
Retry running failed tests at most ``N`` times.
224+
Out of the following options to rerun failed tests the
225+
:option:`--max-retries-per-test` is the only one that doesn't
226+
require a change in the test scripts or the test config:
227+
228+
* :option:`--max-retries-per-test` lit option
229+
* ``config.test_retry_attempts`` test suite option
230+
* ``ALLOW_RETRIES:`` annotation in test script
231+
232+
Any option in the list above overrules its predecessor.
233+
221234
.. option:: --allow-empty-runs
222235

223236
Do not fail the run if all tests are filtered out.

0 commit comments

Comments
 (0)