forked from OSchip/llvm-project
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
This commit is contained in:
parent
0627147d12
commit
f214f50739
|
@ -339,6 +339,12 @@
|
||||||
on Visual C++ and Xcode,
|
on Visual C++ and Xcode,
|
||||||
<tt>"-sv"</tt> on others.</dd>
|
<tt>"-sv"</tt> on others.</dd>
|
||||||
|
|
||||||
|
<dt><b>LLVM_LIT_TOOLS_DIR</b>:STRING</dt>
|
||||||
|
<dd>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%.</dd>
|
||||||
|
|
||||||
<dt><b>LLVM_ENABLE_FFI</b>:BOOL</dt>
|
<dt><b>LLVM_ENABLE_FFI</b>:BOOL</dt>
|
||||||
<dd>Indicates whether LLVM Interpreter will be linked with Foreign
|
<dd>Indicates whether LLVM Interpreter will be linked with Foreign
|
||||||
Function Interface library. If the library or its headers are
|
Function Interface library. If the library or its headers are
|
||||||
|
@ -364,7 +370,7 @@
|
||||||
<p><tt>make check</tt></p>
|
<p><tt>make check</tt></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>Testing is not supported on Visual Studio.</p>
|
<p>On Visual Studio, you may run tests to build the project "check".</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,8 @@
|
||||||
|
|
||||||
<p>If you would like to run the LLVM tests you will need
|
<p>If you would like to run the LLVM tests you will need
|
||||||
<a href="http://www.python.org/">Python</a>. Versions 2.4-2.7 are known to
|
<a href="http://www.python.org/">Python</a>. Versions 2.4-2.7 are known to
|
||||||
work.</p>
|
work. You will need <a href="http://gnuwin32.sourceforge.net/">"GnuWin32"</a>
|
||||||
|
tools, too.</p>
|
||||||
|
|
||||||
<p>Do not install the LLVM directory tree into a path containing spaces (e.g.
|
<p>Do not install the LLVM directory tree into a path containing spaces (e.g.
|
||||||
C:\Documents and Settings\...) as the configure step will fail.</p>
|
C:\Documents and Settings\...) as the configure step will fail.</p>
|
||||||
|
@ -191,6 +192,15 @@
|
||||||
program will print the corresponding fibonacci value.</li>
|
program will print the corresponding fibonacci value.</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
|
|
||||||
|
<li>Test LLVM on Visual Studio:
|
||||||
|
<ul>
|
||||||
|
<li>If %PATH% does not contain GnuWin32, you may specify LLVM_LIT_TOOLS_DIR
|
||||||
|
on CMake for the path to GnuWin32.</li>
|
||||||
|
<li>You can run LLVM tests to build the project "check".</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!-- FIXME: Is it up-to-date? -->
|
||||||
<li>Test LLVM:
|
<li>Test LLVM:
|
||||||
<ul>
|
<ul>
|
||||||
<li>The LLVM tests can be run by <tt>cd</tt>ing to the llvm source directory
|
<li>The LLVM tests can be run by <tt>cd</tt>ing to the llvm source directory
|
||||||
|
|
Loading…
Reference in New Issue