@@ -193,7 +193,7 @@ EXECUTION OPTIONS
193
193
194
194
.. option :: --report-failures-only
195
195
196
- Only include unresolved, timed out, failed and unexpectedly passed tests in the report.
196
+ Only include failures (see :ref: ` test-status-results `) in the report.
197
197
198
198
.. option :: --resultdb-output RESULTDB_OUTPUT
199
199
@@ -384,8 +384,9 @@ ADDITIONAL OPTIONS
384
384
EXIT STATUS
385
385
-----------
386
386
387
- :program: `lit ` will exit with an exit code of 1 if there are any FAIL or XPASS
388
- results. Otherwise, it will exit with the status 0. Other exit codes are used
387
+ :program: `lit ` will exit with an exit code of 1 if there are any failures
388
+ (see :ref: `test-status-results `) and :option: `--ignore-fail ` has not been
389
+ passed. Otherwise, it will exit with the status 0. Other exit codes are used
389
390
for non-test related failures (for example a user error or an internal program
390
391
error).
391
392
@@ -461,8 +462,10 @@ Each test ultimately produces one of the following eight results:
461
462
462
463
**TIMEOUT **
463
464
464
- The test was run, but it timed out before it was able to complete. This is
465
- considered a failure.
465
+ The test was run, but it timed out before it was able to complete.
466
+
467
+ Unresolved (**UNRESOLVED **), timed out (**TIMEOUT **), failed (**FAIL **) and
468
+ unexpectedly passed (**XPASS **) tests are considered failures.
466
469
467
470
Depending on the test format tests may produce additional information about
468
471
their status (generally only for failures). See the :ref: `output-options `
0 commit comments