summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-11-28 05:13:45 +0000
committerTanya Lattner <tonic@nondot.org>2007-11-28 05:13:45 +0000
commit1de48498fd52c48b19a2c05f7d94a0651b855cfc (patch)
tree4f6d7dfd9db4f5df7923a03853c39607231b87e6 /docs
parent727842e9d76680a49616083fed0e812ae209aff8 (diff)
downloadllvm-1de48498fd52c48b19a2c05f7d94a0651b855cfc.tar.gz
llvm-1de48498fd52c48b19a2c05f7d94a0651b855cfc.tar.bz2
llvm-1de48498fd52c48b19a2c05f7d94a0651b855cfc.tar.xz
Modified instructions to configure llvm-test by configure llvm with the Path --with-llvmgccdir set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/TestingGuide.html34
1 files changed, 9 insertions, 25 deletions
diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html
index ab4628a080..d4ce6fd490 100644
--- a/docs/TestingGuide.html
+++ b/docs/TestingGuide.html
@@ -152,8 +152,9 @@ programs), run the <tt>llvm-test</tt> tests:</p>
<pre>
% cd llvm/projects
% svn co http://llvm.org/svn/llvm-project/test-suite/trunk llvm-test
-% cd llvm-test
-% ./configure --with-llvmsrc=$LLVM_SRC_ROOT --with-llvmobj=$LLVM_OBJ_ROOT
+% cd ..
+% ./configure --with-llvmgccdir=$LLVM_GCC_DIR
+% cd projects/llvm-test
% gmake
</pre>
</div>
@@ -694,37 +695,20 @@ directory to run them.</p>
<p>This will get the test suite into <tt>llvm/projects/llvm-test</tt></p>
- <li><p>Configure the test suite. You can do this one of two ways:</p>
-
- <ol>
- <li>Use the regular llvm configure:<br/><br/>
-
-<div class="doc_code">
-<pre>
-% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure
-</pre>
-</div>
-
- <p>This will ensure that the <tt>projects/llvm-test</tt> directory is
- also properly configured.</p></li>
-
- <li><p>Use the <tt>configure</tt> script found in the <tt>llvm-test</tt>
- source directory:</p>
-
+ <li><p>Configure the test suite using llvm configure. This will automatically configure llvm-test.
+ You must do it from the top level otherwise llvm-gcc will not be set which is required to
+ run llvm-test.:</p>
<div class="doc_code">
<pre>
-% $LLVM_SRC_ROOT/projects/llvm-test/configure \
- --with-llvmsrc=$LLVM_SRC_ROOT \
- --with-llvmobj=$LLVM_OBJ_ROOT
+% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure --with-llvmgccdir=$LLVM_GCC_DIR
</pre>
</div>
- </li>
- </ol>
<li><tt>gmake</tt></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).</p>
+the test code or configure script changes). $LLVM_GCC_DIR is the path to the LLVM
+C/C++ FrontEnd</p>
<p>To make a specialized test (use one of the
<tt>llvm-test/TEST.&lt;type&gt;.Makefile</tt>s), just run:</p>