From 3228abe8f9a7fc5b3b9f4a6de272f712a365476a Mon Sep 17 00:00:00 2001
From: John Mosby
First, all tests are executed within the LLVM object directory tree. They are not executed inside of the LLVM source tree. This is because the -test suite creates temporary files during execution. This means you must create -a build tree separate from the LLVM source tree in which to run the test suite.
+test suite creates temporary files during execution.To run the test suite, you need to use the following steps:
@@ -711,13 +710,10 @@ a build tree separate from the LLVM source tree in which to run the test suite.< % svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite -This will get the test suite into llvm/projects/test-suite.
-
[The Makefiles expect the test suite directory to be named either
- test-suite or llvm-test. To be safe, use
- test-suite as in the above svn command line.]
This will get the test suite into llvm/projects/test-suite.
Configure llvm from the top level of each build tree (LLVM object directory tree) - in which you want to run the test suite, just like what you do before building LLVM.
+ in which you want to run the test suite, just as you do before building LLVM.When running configure, you must either: (1) have llvm-gcc in your path, or (2) specify the directory where llvm-gcc is installed using --with-llvmgccdir=$LLVM_GCC_DIR.