aboutsummaryrefslogtreecommitdiff
path: root/www/hacking.html
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-18 17:56:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-18 17:56:21 +0000
commit1f6572c67a31af6ed15915d810329a6a0779dea3 (patch)
tree83a5a8d3966ae6daefd583eeb320dbd5372d3c5e /www/hacking.html
parent1b6ff6fdd16e3cb018e2cac01145ed1ff0e09ff4 (diff)
Add some quick notes on the clang tests and running the LLVM test
suite with clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/hacking.html')
-rw-r--r--www/hacking.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/hacking.html b/www/hacking.html
index b855a93acb..da414d66fc 100644
--- a/www/hacking.html
+++ b/www/hacking.html
@@ -21,6 +21,7 @@
<ul>
<li><a href="#docs">Developer Documentation</a></li>
<li><a href="#debugging">Debugging</a></li>
+ <li><a href="#testing">Testing</a></li>
<li><a href="#irgen">LLVM IR Generation</a></li>
</ul>
@@ -57,6 +58,24 @@
</ul>
<!--=====================================================================-->
+ <h2 id="testing">Testing</h2>
+ <!--=====================================================================-->
+
+ <p>Clang includes a basic regression suite in the tree which can be
+ run with <tt>make test</tt> from the top-level clang directory, or
+ just <tt>make</tt> in the <em>test</em> sub-directory. <tt>make
+ report</tt> can be used after running the tests to summarize the
+ results, and <tt>make VERBOSE=1</tt> can be used to show more detail
+ about what is being run.</p>
+
+ <p>For more intensive changes, running
+ the <a href="http://llvm.org/docs/TestingGuide.html#testsuiterun">LLVM
+ Test Suite</a> with clang is recommended. Currently the best way to
+ override LLVMGCC, as in: <tt>make LLVMGCC="ccc -std=gnu89"
+ TEST=nightly report</tt> (make sure ccc is in your PATH or use the
+ full path).</p>
+
+ <!--=====================================================================-->
<h2 id="irgen">LLVM IR Generation</h2>
<!--=====================================================================-->