[PATCH] D96662: [lit] Add --skip (inverse of --filter) and `--xfail`

David Zarzycki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 10:51:41 PST 2021


davezarzycki updated this revision to Diff 324040.
davezarzycki added a comment.

After some thought, I think a list is better than a regex for `--xfail`. In contrast, having `--skip` take a regex makes sense because it is the opposite of `--filter` (like `grep -v` and `grep` respectively).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96662/new/

https://reviews.llvm.org/D96662

Files:
  llvm/docs/CommandGuide/lit.rst
  llvm/utils/lit/lit/cl_arguments.py
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/tests/Inputs/xfail-cl/false.txt
  llvm/utils/lit/tests/Inputs/xfail-cl/false2.txt
  llvm/utils/lit/tests/Inputs/xfail-cl/lit.cfg
  llvm/utils/lit/tests/Inputs/xfail-cl/true.txt
  llvm/utils/lit/tests/selecting.py
  llvm/utils/lit/tests/xfail-cl.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96662.324040.patch
Type: text/x-patch
Size: 7405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210216/e45ce2b8/attachment-0001.bin>


More information about the llvm-commits mailing list