[PATCH] D44598: [lit] Report line number for failed RUN command

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 1 10:41:41 PDT 2018


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

I've attempted to replace the ":" command with "echo > null" in the case of windows cmd.exe.  I don't build on windows, so someone else will have to try it, or we can let the buildbots tell us if windows is happy now.

I cleaned up the patch not to pass the "RUN:" keyword (or a customized version of it) around to parsers that don't need it.


https://reviews.llvm.org/D44598

Files:
  docs/CommandGuide/lit.rst
  utils/lit/lit/TestRunner.py
  utils/lit/tests/Inputs/shtest-run-at-line/external-shell/basic.txt
  utils/lit/tests/Inputs/shtest-run-at-line/external-shell/line-continuation.txt
  utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg
  utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/basic.txt
  utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/line-continuation.txt
  utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg
  utils/lit/tests/Inputs/shtest-run-at-line/lit.cfg
  utils/lit/tests/Inputs/shtest-shell/colon-error.txt
  utils/lit/tests/max-failures.py
  utils/lit/tests/shtest-format.py
  utils/lit/tests/shtest-output-printing.py
  utils/lit/tests/shtest-run-at-line.py
  utils/lit/tests/shtest-shell.py
  utils/lit/tests/unit/TestRunner.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44598.144748.patch
Type: text/x-patch
Size: 15522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180501/34ebb637/attachment.bin>


More information about the llvm-commits mailing list