From 3f95ba04981609ceb39215eda16f56034d1978b1 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 20 May 2008 10:28:55 +0000 Subject: [PATCH] Clarify the testing documentation a bit and solve two HTML validator warnings. llvm-svn: 51313 --- llvm/docs/TestingGuide.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/llvm/docs/TestingGuide.html b/llvm/docs/TestingGuide.html index b279405103e5..a5e0ff8d1043 100644 --- a/llvm/docs/TestingGuide.html +++ b/llvm/docs/TestingGuide.html @@ -157,6 +157,8 @@ programs), run the llvm-test tests:

% cd projects/llvm-test % gmake +

where $LLVM_GCC_DIR is the directory where you installed +llvm-gcc, not it's src or obj dir.

@@ -703,18 +705,24 @@ directory to run them.

% cd $LLVM_OBJ_ROOT ; $LLVM_SRC_ROOT/configure --with-llvmgccdir=$LLVM_GCC_DIR -
  • gmake
  • +

    Note that that $LLVM_GCC_DIR is the directory where you + installed llvm-gcc, not its src or obj directory.

    + + +
  • Change back to the llvm/projects/llvm-test directory you created before + and run gmake (or just "make" on systems where GNU make is + the default, such as linux.

  • 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). $LLVM_GCC_DIR is the path to the LLVM -C/C++ FrontEnd

    +the test code or configure script changes).

    To make a specialized test (use one of the llvm-test/TEST.<type>.Makefiles), just run:

    +% cd llvm/projects/llvm-test
     % gmake TEST=<type> test
     
    @@ -884,10 +892,10 @@ know. Thanks!

    Valid CSS! Valid HTML 4.01! + src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!"> John T. Criswell, Reid Spencer, and Tanya Lattner
    - The LLVM Compiler Infrastructure
    + The LLVM Compiler Infrastructure
    Last modified: $Date$