From 8460374e3036bf033acb83530e7841123d645ced Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Wed, 28 Nov 2007 05:13:45 +0000 Subject: [PATCH] Modified instructions to configure llvm-test by configure llvm with the Path --with-llvmgccdir set. llvm-svn: 44390 --- llvm/docs/TestingGuide.html | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/llvm/docs/TestingGuide.html b/llvm/docs/TestingGuide.html index ab4628a08072..d4ce6fd49038 100644 --- a/llvm/docs/TestingGuide.html +++ b/llvm/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: