[cfe-dev] How to run test on Windows?

Nikola Smiljanic popizdeh at gmail.com
Mon Aug 15 10:42:21 PDT 2011


I'm having some trouble with this. The documentation says: *The cmake build
tool is set up to create Visual Studio project files for running the tests,
"clang-test" being the root. Therefore, to run the test from Visual Studio,
right-click the clang-test project and select "Build".*
*
*
I don't see this project anywhere? There is a filter called Clang tests with
4 projects (ASTTests, BasicTests, ClangUnitTests, FrontendTests).
ClangUnitTests can't be run, and other 3 projects run 9 tests in total.

Trying to run from command line:
python D:\Projects\llvm\utils\lit\lit.py -sv --no-progress-bar
--param=build_config=Debug
D:\Projects\llvm\tools\clang\test\Sema\warn-freestanding-complex.c

gives:
lit.py: LitConfig.py:99: note: Unable to find 'bash.exe'.
lit.py: lit.cfg:87: fatal: No site specific configuration available!

What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110815/a54b541e/attachment.html>


More information about the cfe-dev mailing list