diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html index ab4628a0807..d4ce6fd4903 100644 --- a/docs/TestingGuide.html +++ b/docs/TestingGuide.html @@ -152,8 +152,9 @@ programs), run the llvm-test tests:

 % 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 @@ directory to run them.

This will get the test suite into llvm/projects/llvm-test

-
  • Configure the test suite. You can do this one of two ways:

    - -
      -
    1. Use the regular llvm configure:

      - +
    2. 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.:

      -% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure
      +% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure --with-llvmgccdir=$LLVM_GCC_DIR
       
      - -

      This will ensure that the projects/llvm-test directory is - also properly configured.

    3. - -
    4. Use the configure script found in the llvm-test - source directory:

      - -
      -
      -% $LLVM_SRC_ROOT/projects/llvm-test/configure \
      -  --with-llvmsrc=$LLVM_SRC_ROOT               \
      -  --with-llvmobj=$LLVM_OBJ_ROOT
      -
      -
      -
    5. -
  • gmake
  • 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).

    +the test code or configure script changes). $LLVM_GCC_DIR is the path to the LLVM +C/C++ FrontEnd

    To make a specialized test (use one of the llvm-test/TEST.<type>.Makefiles), just run: