From f214f507395c6a4d3366950906fd0e64ecd7c56c Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Wed, 9 Feb 2011 04:19:28 +0000
Subject: [PATCH] Add testing stuff to CMake documents.
- Note "GnuWin32".
- Note LLVM_LIT_TOOLS_DIR
- Now we can run tests on VS w/e all tests might pass or not!
llvm-svn: 125177
---
llvm/docs/CMake.html | 8 +++++++-
llvm/docs/GettingStartedVS.html | 12 +++++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/llvm/docs/CMake.html b/llvm/docs/CMake.html
index fc729af17407..e303d132b590 100644
--- a/llvm/docs/CMake.html
+++ b/llvm/docs/CMake.html
@@ -339,6 +339,12 @@
on Visual C++ and Xcode,
"-sv" on others.
+ LLVM_LIT_TOOLS_DIR:STRING
+ The path to GnuWin32 tools for tests. Valid on Windows host.
+ Defaults to "", then Lit seeks tools according to %PATH%.
+ Lit can find tools(eg. grep, sort, &c) on LLVM_LIT_TOOLS_DIR at first,
+ without specifying GnuWin32 to %PATH%.
+
LLVM_ENABLE_FFI:BOOL
Indicates whether LLVM Interpreter will be linked with Foreign
Function Interface library. If the library or its headers are
@@ -364,7 +370,7 @@
make check
-Testing is not supported on Visual Studio.
+On Visual Studio, you may run tests to build the project "check".
diff --git a/llvm/docs/GettingStartedVS.html b/llvm/docs/GettingStartedVS.html
index 96b7bfe928b4..7417f4aaa9b2 100644
--- a/llvm/docs/GettingStartedVS.html
+++ b/llvm/docs/GettingStartedVS.html
@@ -112,7 +112,8 @@
If you would like to run the LLVM tests you will need
Python. Versions 2.4-2.7 are known to
- work.
+ work. You will need "GnuWin32"
+ tools, too.
Do not install the LLVM directory tree into a path containing spaces (e.g.
C:\Documents and Settings\...) as the configure step will fail.
@@ -191,6 +192,15 @@
program will print the corresponding fibonacci value.
+ Test LLVM on Visual Studio:
+
+ - If %PATH% does not contain GnuWin32, you may specify LLVM_LIT_TOOLS_DIR
+ on CMake for the path to GnuWin32.
+ - You can run LLVM tests to build the project "check".
+
+
+
+
Test LLVM:
- The LLVM tests can be run by cding to the llvm source directory