From 1de48498fd52c48b19a2c05f7d94a0651b855cfc Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Wed, 28 Nov 2007 05:13:45 +0000 Subject: 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 --- docs/TestingGuide.html | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) (limited to 'docs') diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html index ab4628a..d4ce6fd 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:

      - -
      -
      -% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure
      -
      -
      - -

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

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

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

      -% $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
       
      -
    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:

    -- cgit v1.1