cfe-dev Digest, Vol 45, Issue 89

Date: Sun, 20 Mar 2011 01:32:07 +0100
From: ?scar Fuentes <ofv@wanadoo.es>
Subject: Re: [cfe-dev] Testing using MSYS + CMake
To: NAKAMURA Takumi <geek4civic@gmail.com>
Cc: cfe-dev <cfe-dev@cs.uiuc.edu>
Message-ID: <87ipve1vjs.fsf@wanadoo.es>
Content-Type: text/plain

NAKAMURA Takumi <geek4civic@gmail.com> writes:

Is llvm-lit available?

$ python bin/llvm-lit /path/to/your/test.ll

(“python” may be omitted)

Yes, and using it instead of lit.py makes things much simpler:

python bin/llvm-lit -sv --no-progress-bar …/llvm/tools/clang/test/Sema/annotate.c

llvm-lit needs some advertising :wink:

Definitely easier! (especially since I have the bin directory in my path)

Perhaps that it would be worth signalling this method of testing on the Hacking on Clang page ?

Thanks for your help, both of you :slight_smile: