[cfe-dev] windows testing - lit.py failure

Óscar Fuentes ofv at wanadoo.es
Tue Mar 15 14:36:59 PDT 2011


dawn at burble.org writes:

> Thanks for the quick response.
>
> This won't work for us however, as we don't use the Visual Studio
> project files.

Have you tried it?

> We use cmake and nmake entirely from the command-line,
> because we run the tests on remote build machines.  We also build in a
> separate directory outside llvm.  We set up certian env vars that MSVC
> wants, then run cmake as: 
>
>     cmake -G \"NMake Makefiles\" ..\\..\\..\\llvm -DCMAKE_BUILD_TYPE=debug
>
> How would I use this technique to configure the clang tests?

cmake --build <build-directory> --target <target>

just invokes whatever tool is appropiate for building the <target>
(msbuild.exe, nmake.exe, etc) But if you prefer to directly run nmake:

for Clang:

nmake clang-test clang-c++tests

for LLVM:

nmake check

and

nmake check-all

will execute both LLVM and Clang tests.




More information about the cfe-dev mailing list