From: NAKAMURA Takumi Date: Fri, 18 Mar 2011 03:21:44 +0000 (+0000) Subject: www/hacking.html: Add blurb of LLVM_LIT_TOOLS_DIR. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da0f45de179d96373af17734c164019cf12de41f;p=clang www/hacking.html: Add blurb of LLVM_LIT_TOOLS_DIR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127863 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/www/hacking.html b/www/hacking.html index d6dbe80cfe..120e4d0f36 100644 --- a/www/hacking.html +++ b/www/hacking.html @@ -162,17 +162,25 @@ Download the latest stable version (2.6.2 at the time of this writing).

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. +

+

Testing on the Command Line