[llvm-commits] [llvm] r44390 - /llvm/trunk/docs/TestingGuide.html

Tanya Lattner tonic at nondot.org
Tue Nov 27 21:13:45 PST 2007

Author: tbrethou
Date: Tue Nov 27 23:13:45 2007
New Revision: 44390

URL: http://llvm.org/viewvc/llvm-project?rev=44390&view=rev
Modified instructions to configure llvm-test by configure llvm with the Path --with-llvmgccdir set.


Modified: llvm/trunk/docs/TestingGuide.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.html?rev=44390&r1=44389&r2=44390&view=diff

--- llvm/trunk/docs/TestingGuide.html (original)
+++ llvm/trunk/docs/TestingGuide.html Tue Nov 27 23:13:45 2007
@@ -152,8 +152,9 @@
 % 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
@@ -694,37 +695,20 @@
       <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">
-% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure
-        <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">
-% $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
-    </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.<type>.Makefile</tt>s), just run:</p>

More information about the llvm-commits mailing list