Testing with llvm-lit


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?


Have you ever run "make check" and passed?


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

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?