[PATCH] D82233: [lit] Add --show command line option

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 14:09:40 PDT 2020


yln created this revision.
yln added reviewers: rnk, jdenny, serge-sans-paille, probinson, dexonsmith, delcypher, ldionne, varungandhi-apple.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
yln marked an inline comment as done.
yln added a comment.

Since `--show` subsumes `--show-unsupported` and `--show-xfail`, how do people feel about removing those in a separate follow-up change?



================
Comment at: llvm/docs/CommandGuide/lit.rst:166
- or the environment vairable MAX_FAILURES may be set
- prior to execution.
 
----------------
Drive by fix.  Lit does not respect the `MAX_FAILURES` env var.


This is a more general version of `--show-unsupported` and
`--show-xfail` that works for all result codes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82233

Files:
  llvm/docs/CommandGuide/lit.rst
  llvm/utils/lit/lit/cl_arguments.py
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/tests/Inputs/show-tests/fail.txt
  llvm/utils/lit/tests/Inputs/show-tests/lit.cfg
  llvm/utils/lit/tests/Inputs/show-tests/pass.txt
  llvm/utils/lit/tests/Inputs/show-tests/unsupported.txt
  llvm/utils/lit/tests/Inputs/show-tests/xfail.txt
  llvm/utils/lit/tests/show-tests.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82233.272174.patch
Type: text/x-patch
Size: 5633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200619/55d14e66/attachment.bin>


More information about the llvm-commits mailing list