aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-05-20 10:28:55 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-05-20 10:28:55 +0000
commitd30020a84e2683e0de962598302ea39b7ab5e0a8 (patch)
treeed9e9108e0db97f259ba61f77a8a04de10f82982
parent7a0f1851ec0ac25d94cebc06f8f611a48e5f4326 (diff)
downloadexternal_llvm-d30020a84e2683e0de962598302ea39b7ab5e0a8.zip
external_llvm-d30020a84e2683e0de962598302ea39b7ab5e0a8.tar.gz
external_llvm-d30020a84e2683e0de962598302ea39b7ab5e0a8.tar.bz2
Clarify the testing documentation a bit and solve two HTML validator warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51313 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/TestingGuide.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html
index b279405..a5e0ff8 100644
--- a/docs/TestingGuide.html
+++ b/docs/TestingGuide.html
@@ -157,6 +157,8 @@ programs), run the <tt>llvm-test</tt> tests:</p>
% cd projects/llvm-test
% gmake
</pre>
+<p>where <tt>$LLVM_GCC_DIR</tt> is the directory where you <em>installed</em>
+llvm-gcc, not it's src or obj dir.</p>
</div>
</div>
@@ -703,18 +705,24 @@ directory to run them.</p>
% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure --with-llvmgccdir=$LLVM_GCC_DIR
</pre>
</div>
- <li><tt>gmake</tt></li>
+ <p>Note that that <tt>$LLVM_GCC_DIR</tt> is the directory where you
+ <em>installed</em> llvm-gcc, not its src or obj directory.</p>
+ </li>
+
+ <li><p>Change back to the <tt>llvm/projects/llvm-test</tt> directory you created before
+ and run <tt>gmake</tt> (or just "<tt>make</tt>" on systems where GNU make is
+ the default, such as linux.</p></li>
</ol>
<p>Note that the second and third steps only need to be done once. After you
have the suite checked out and configured, you don't need to do it again (unless
-the test code or configure script changes). $LLVM_GCC_DIR is the path to the LLVM
-C/C++ FrontEnd</p>
+the test code or configure script changes).</p>
<p>To make a specialized test (use one of the
<tt>llvm-test/TEST.&lt;type&gt;.Makefile</tt>s), just run:</p>
<div class="doc_code">
<pre>
+% cd llvm/projects/llvm-test
% gmake TEST=&lt;type&gt; test
</pre>
</div>
@@ -884,10 +892,10 @@ know. Thanks!</p>
<a href="http://jigsaw.w3.org/css-validator/check/referer"><img
src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
<a href="http://validator.w3.org/check/referer"><img
- src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" /></a>
+ src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"></a>
John T. Criswell, Reid Spencer, and Tanya Lattner<br>
- <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br/>
+ <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
Last modified: $Date$
</address>
</body>