i-ky 6f6af49938
Clarify lit's definition of failure and conditions when it exits with exit code 1 (#136190)
Documentation of when `lit` exits with code 1 is out of date.

It is no longer just "FAIL or XPASS", there are more failure types:

b30100b87f/llvm/utils/lit/lit/Test.py (L51-L55)

Exit code can also be affected by `--ignore-fail` option:

b30100b87f/llvm/utils/lit/lit/main.py (L154-L162)

This PR extracts a clear definition of "failure" from the description of
`--report-failures-only` option:

b30100b87f/llvm/docs/CommandGuide/lit.rst (L194-L196)
...puts it into "Test Status Results" section and references it when
describing exit codes and `--ignore-fail` option.
2025-04-28 07:06:42 +01:00
..
2025-04-08 19:34:03 -07:00