Running clang regression in windows

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Running clang regression in windows

Colin Riddell
  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?

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!


2. Can clang regression be run from Visual Studio?
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?

Any help would be greatly appreciated.

Regards,

Colin Riddell
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Running clang regression in windows

Francois Pichet
On Thu, Oct 7, 2010 at 8:47 AM, Colin Riddell <[hidden email]> 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

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Running clang regression in windows

Nico Weber
In reply to this post by Colin Riddell
Hi,

On Thu, Oct 7, 2010 at 5:47 AM, Colin Riddell <[hidden email]> 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?
>
> 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!

You need to run `make test` in llvm/tools/clang once to create some
important file (you can stop it once it starts running tests).

Nico

>
>
> 2. Can clang regression be run from Visual Studio?
> 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?
>
> Any help would be greatly appreciated.
>
> Regards,
>
> Colin Riddell
> _______________________________________________
> cfe-dev mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev