[cfe-commits] r59536 - /cfe/trunk/www/hacking.html

Daniel Dunbar daniel at zuster.org
Tue Nov 18 09:56:27 PST 2008


Author: ddunbar
Date: Tue Nov 18 11:56:21 2008
New Revision: 59536

URL: http://llvm.org/viewvc/llvm-project?rev=59536&view=rev
Log:
Add some quick notes on the clang tests and running the LLVM test
suite with clang.

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=59536&r1=59535&r2=59536&view=diff

==============================================================================
--- cfe/trunk/www/hacking.html (original)
+++ cfe/trunk/www/hacking.html Tue Nov 18 11:56:21 2008
@@ -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>
   <!--=====================================================================-->
 





More information about the cfe-commits mailing list