Hi, Since I want to write tests with llvm-lit, I pulled the latest revision of LLVM from SVN HEAD and tried to run the following command (copied from http://llvm.org/docs/TestingGuide.html): $ ~/llvm/Debug+Asserts/bin/llvm-lit ~/llvm/test/Integer/BitCast.ll llvm-lit: lit.cfg:103: fatal: No site specific configuration available! Any ideas on why this happens? Thanks, Brice
2010/11/8 Brice Lin <brice.lin at gmail.com>:> $ ~/llvm/Debug+Asserts/bin/llvm-lit ~/llvm/test/Integer/BitCast.ll > llvm-lit: lit.cfg:103: fatal: No site specific configuration available!Have you ever run "make check" and passed? ...Takumi
Thanks, I have never run "make check" before. Now that I just ran it, it created the necessary files to test ~/llvm/test/Integer/BitCast.ll individually. On another note, I wrote and collected together some small C programs (that reside outside of the LLVM build tree) that I use to test my transform pass. What files do I need to write (including Makefiles and the such) so that I can run llvm-lit on them? On Sun, Nov 7, 2010 at 6:02 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:> 2010/11/8 Brice Lin <brice.lin at gmail.com>: >> $ ~/llvm/Debug+Asserts/bin/llvm-lit ~/llvm/test/Integer/BitCast.ll >> llvm-lit: lit.cfg:103: fatal: No site specific configuration available! > > Have you ever run "make check" and passed? > > ...Takumi >
Maybe Matching Threads
- [LLVMdev] Testing with llvm-lit
- [LLVMdev] "make check" fails at CodeGen/Generic/dbg-declare.ll (r153997 on PPC)
- [LLVMdev] "make check" fails at CodeGen/Generic/dbg-declare.ll (r153997 on PPC)
- [LLVMdev] "make check" fails at CodeGen/Generic/dbg-declare.ll (r153997 on PPC)
- [LLVMdev] llvm 'gmake check' errors generating lit.site.cfg