Hi all, Can anybody give a tutorial about how to use llvm-lit tool? I copy and revise Makefile and lit.cfg etc from clang to my project. However, when I run make test it always seem unable to find the FileCheck tool correctly. How can I fix it? Can anybody add test feature to llvm/project/sample? Thanks in advance! best, Yabin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110629/26981e39/attachment.html>
On Jun 28, 2011, at 5:38 PM, Yabin Hu wrote:> Hi all, > > Can anybody give a tutorial about how to use llvm-lit tool? > > I copy and revise Makefile and lit.cfg etc from clang to my project. However, when I run make test it always seem unable to find the FileCheck tool correctly.Use llvm-lit --debug to see which config files are loaded. In the clang/llvm trees, lit.cfg is loaded from lit.site.cfg, which is Makefile-generated with this line config.llvm_tools_dir=... (I sometimes change that line manually to test different builds--currently a pain). Make sure the FileCheck too live there. If not, you might try "llvm-lit --path=... " -Andy
Seemingly Similar Threads
- PSA: debuginfo-tests workflow changing slightly
- [LLVMdev] Getting FileCheck's colored output through lit (& possibly ninja)
- PSA: debuginfo-tests workflow changing slightly
- PSA: debuginfo-tests workflow changing slightly
- [LLVMdev] make check-lit + grep escape characters