[PATCH] D66574: [lit] Make internal diff work in pipelines

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 17:58:50 PDT 2019


jdenny updated this revision to Diff 225334.
jdenny added a comment.

Rebased onto D68839 <https://reviews.llvm.org/D68839> (recently re-landed).  As a result, the `diff.py` created here has to import `lit.util` for `to_string`.  The only way I found to make that possible was to set `PYTHONPATH` in `TestRunner.py` when calling `diff.py`.


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

https://reviews.llvm.org/D66574

Files:
  llvm/utils/lit/lit/TestRunner.py
  llvm/utils/lit/lit/builtin_commands/diff.py
  llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt
  llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
  llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-0.txt
  llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-1.txt
  llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
  llvm/utils/lit/tests/max-failures.py
  llvm/utils/lit/tests/shtest-shell.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66574.225334.patch
Type: text/x-patch
Size: 27007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191017/aeb18156/attachment.bin>


More information about the llvm-commits mailing list