From 0da51e8f58e44dd993295e109581723d947145a9 Mon Sep 17 00:00:00 2001
From: Tanya Lattner
% 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:
- --% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure --
This will ensure that the projects/llvm-test directory is - also properly configured.
Use the configure script found in the llvm-test - source directory:
- +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
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++ FrontEndTo make a specialized test (use one of the llvm-test/TEST.<type>.Makefiles), just run:
-- cgit v1.1