[PATCH] D44598: [lit] Add line numbers for RUN commands to shell code
Joel E. Denny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 19 15:10:13 PDT 2018
jdenny updated this revision to Diff 139011.
jdenny edited the summary of this revision.
jdenny added a comment.
A few more improvements:
1. Quote entire "RUN: at line N" argument so that output from the internal shell looks better.
2. Add tests for the case of line continuations.
3. Adjust tests not to depend on the external shell's exact "set -x" output format.
4. Rebase to a more recent master.
https://reviews.llvm.org/D44598
Files:
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.139011.patch
Type: text/x-patch
Size: 13120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180319/d3c3a1a0/attachment.bin>
More information about the llvm-commits
mailing list