From: NAKAMURA Takumi
The GnuWin32 tools are also necessary for running the tests. - (Note that the grep from MSYS or Cygwin doesn't work with the tests - because of embedded double-quotes in the search strings. The GNU - grep does work in this case.) Get them from - http://getgnuwin32.sourceforge.net/.
+ http://getgnuwin32.sourceforge.net/. + If the environment variable %PATH% does not have GnuWin32, + or if other grep(s) supercedes GnuWin32 on %PATH%, + you should specify LLVM_LIT_TOOLS_DIR + to CMake explicitly.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".
++ Please see also + Getting Started + with the LLVM System using Microsoft Visual Studio and + Building LLVM with CMake. +
+