From fe2cb3e37f20103e14eabff08f3453a4bb6d8251 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 29 Nov 2011 19:40:56 +0000 Subject: [PATCH] Update the docs for some of the test-suite configure changes and be more clear about what to do and how to do it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145426 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/TestingGuide.html | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html index 3309ac3b33c..bb47cb1fc56 100644 --- a/docs/TestingGuide.html +++ b/docs/TestingGuide.html @@ -253,40 +253,35 @@ programs), first checkout and setup the test-suite module:

-% cd llvm/projects
+% cd ~/llvm/projects
 % svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite
 % cd ..
-% ./configure --with-llvmgccdir=$LLVM_GCC_DIR
 
-

where $LLVM_GCC_DIR is the directory where -you installed llvm-gcc, not its src or obj -dir. The --with-llvmgccdir option assumes that -the llvm-gcc-4.2 module was configured with ---program-prefix=llvm-, and therefore that the C and C++ -compiler drivers are called llvm-gcc and llvm-g++ -respectively. If this is not the case, -use --with-llvmgcc/--with-llvmgxx to specify each -executable's location.

+

and then configure and build normally as you would from the +Getting Started +Guide. This will autodetect first the built clang if you are building +clang, then clang in your path and finally look for llvm-gcc +in your path.

Then, run the entire test suite by running make in the test-suite -directory:

+subdirectory of your build directory:

-% cd projects/test-suite
+% cd where-you-built-llvm/projects/test-suite
 % gmake
 
-

Usually, running the "nightly" set of tests is a good idea, and you can also +

Usually, running the "simple" set of tests is a good idea, and you can also let it generate a report by running:

-% cd projects/test-suite
-% gmake TEST=nightly report report.html
+% cd where-you-built-llvm/projects/test-suite
+% gmake TEST=simple report report.html