[cfe-dev] Running clang regression in windows

Francois Pichet pichet2000 at gmail.com
Thu Oct 7 06:00:52 PDT 2010


On Thu, Oct 7, 2010 at 8:47 AM, Colin Riddell <colinriddell at codeplay.com> wrote:
>  We have the need to run clang regression tests in Windows with llvm
> versions 2.6, 2.7 and 2.8. We have read that this can now be done with
> "lit".
>
> 1. From what we can see, lit does not run with windows. Or does it?

lit works very well on Windows.. I use it everyday.

>
> C:\Python26\python.exe lit.py -sv --no-progress-bar
> "C:\prog\old_llvm\2.7\llvm\tools\clang\test"
> lit.py: lit.cfg:74: fatal: No site specific configuration available!

try --param=build_config=Release

> 2. Can clang regression be run from Visual Studio?

yes, generate the .sln using cmake then select the "clang-test"
project, right click and build.

> 3. Or is it the case that the Visual Studio project "clang-test" has
> been removed from versions of llvm/clang greater than 2.6?

no




More information about the cfe-dev mailing list