[PATCH] D80694: Improve lit.py's usability by highlighting failing lines.
Varun Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 00:30:22 PDT 2020
varungandhi-apple added a comment.
Consider the test file:
# RUN: true
# RUN: false
# RUN: true
After this patch, the default output becomes:
******************** TEST 'lit :: dummy.py' FAILED ********************
Command Output (stdout, truncated):
--
$ ":" "RUN: at line 2"
$ "false"
note: command had no output on stdout or stderr
error: command failed with exit status: 1
--
(NOTE: The failure may depend on preceding RUN lines.
Use --verbose to see preceding RUN lines and outputs.)
If you use `-v`/`--verbose`, it becomes:
F12017804: Screen Shot 2020-05-28 at 12.10.46 AM.png <https://reviews.llvm.org/F12017804>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80694/new/
https://reviews.llvm.org/D80694
More information about the llvm-commits
mailing list