[PATCH] D122569: [lit] Support %if ... %else syntax for RUN lines

Andrew Savonichev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 10 11:54:14 PDT 2022


asavonic updated this revision to Diff 421799.
asavonic edited the summary of this revision.
asavonic added a comment.

- Reimplemented %if..%else parser to support nested expressions.
- Added --match-full-lines to the LIT test; added more test cases.


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

https://reviews.llvm.org/D122569

Files:
  llvm/docs/TestingGuide.rst
  llvm/utils/lit/lit/TestRunner.py
  llvm/utils/lit/tests/Inputs/shtest-if-else/lit.cfg
  llvm/utils/lit/tests/Inputs/shtest-if-else/test.txt
  llvm/utils/lit/tests/shtest-if-else.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122569.421799.patch
Type: text/x-patch
Size: 13632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220410/7cb95358/attachment-0001.bin>


More information about the llvm-commits mailing list