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
diff --git a/www/hacking.html b/www/hacking.html
index b855a93..da414d6 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>

   <!--=====================================================================-->