From 1de48498fd52c48b19a2c05f7d94a0651b855cfc 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:
- -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.
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 --
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: