[PATCH] D20105: Implement verbose mode in FlieCheck and Lit to capture whole stdin.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue May 10 08:27:15 PDT 2016
chapuni created this revision.
chapuni added a subscriber: llvm-commits.
chapuni set the repository for this revision to rL LLVM.
This changes are aiming to capture and dump whole stdin to FileCheck.
In automated builders, we are often missing actual input, to wonder why the failure was.
- Implement -verbose in FileCheck to dump stdin to stderr.
- Introduce LLVM_FILECHECK to override default value of -verbose.
- Introduce LIT_PASS_VARS in Lit, to customize variables available in the test.
How to activate this changes;
LIT_PASS_VARS=LLVM_FILECHECK LLVM_FILECHECK=-verbose bin/llvm-lit path/to/...
This patch is W-I-P. FIXME:
- Give the description for -verbose with cl::desc().
- Generalize LLVM_FILECHECK to accept additional options.
- Improve the output of -verbose.
- Add tests for -verbose itself.
Repository:
rL LLVM
http://reviews.llvm.org/D20105
Files:
llvm/test/FileCheck/check-label-dag.txt
llvm/test/FileCheck/check-label.txt
llvm/test/FileCheck/check-multiple-prefixes-nomatch-2.txt
llvm/test/FileCheck/check-multiple-prefixes-nomatch.txt
llvm/test/FileCheck/check-not-diaginfo.txt
llvm/utils/FileCheck/FileCheck.cpp
llvm/utils/lit/lit/TestingConfig.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20105.56715.patch
Type: text/x-patch
Size: 4530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160510/1fb653f4/attachment.bin>
More information about the llvm-commits
mailing list