[cfe-commits] r154795 - /cfe/trunk/www/hacking.html
Eli Friedman
eli.friedman at gmail.com
Sun Apr 15 22:04:45 PDT 2012
Author: efriedma
Date: Mon Apr 16 00:04:45 2012
New Revision: 154795
URL: http://llvm.org/viewvc/llvm-project?rev=154795&view=rev
Log:
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.
Modified:
cfe/trunk/www/hacking.html
Modified: cfe/trunk/www/hacking.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/hacking.html?rev=154795&r1=154794&r2=154795&view=diff
==============================================================================
--- cfe/trunk/www/hacking.html (original)
+++ cfe/trunk/www/hacking.html Mon Apr 16 00:04:45 2012
@@ -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
More information about the cfe-commits
mailing list