summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-04-16 05:04:45 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-04-16 05:04:45 +0000
commit250ae4a77538cf9b95aa52eb785e78fbfe352732 (patch)
treea4b8db34a981092c2c31780cbfced8dd3ffd23b2
parent6c31cb4d8dd53ecba7c0848eda9982ecd26dfc39 (diff)
downloadbcm5719-llvm-250ae4a77538cf9b95aa52eb785e78fbfe352732.tar.gz
bcm5719-llvm-250ae4a77538cf9b95aa52eb785e78fbfe352732.zip
Add note to hacking.html that running the test harness directly from the command-line requires making sure the relevant files are generated first. Patch by Matt Fowles, with some minor modifications.
llvm-svn: 154795
-rw-r--r--clang/www/hacking.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/clang/www/hacking.html b/clang/www/hacking.html
index 2c11ce1896d..aa13b8d0eb8 100644
--- a/clang/www/hacking.html
+++ b/clang/www/hacking.html
@@ -211,8 +211,16 @@
<h3 id="testingCommands">Testing on the Command Line</h3>
<!--=====================================================================-->
- <p>To run all the tests from the command line, execute a command like
- the following:</p>
+ <p>If you want more control over how the tests are run, it may
+ be convenient to run the test harness on the command-line directly. Before
+ running tests from the command line, you will need to ensure that
+ <tt>lit.site.cfg</tt> files have been created for your build. You can do
+ this by running the tests as described in the previous sections. Once the
+ tests have started running, you can stop them with control+C, as the
+ files are generated before running any tests.</p>
+
+ <p>Once that is done, to run all the tests from the command line,
+ execute a command like the following:</p>
<pre>
python (path to llvm)\llvm\utils\lit\lit.py -sv
OpenPOWER on IntegriCloud