]> granicus.if.org Git - clang/commitdiff
Add some quick notes on the clang tests and running the LLVM test
authorDaniel Dunbar <daniel@zuster.org>
Tue, 18 Nov 2008 17:56:21 +0000 (17:56 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 18 Nov 2008 17:56:21 +0000 (17:56 +0000)
suite with clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59536 91177308-0d34-0410-b5e6-96231b3b80d8

www/hacking.html

index b855a93acb2bd5ebd6ed0ec80c72bac5327dbb6b..da414d66fcca76bdb237750863315d68c86ebd6a 100644 (file)
@@ -21,6 +21,7 @@
     <ul>\r
       <li><a href="#docs">Developer Documentation</a></li>\r
       <li><a href="#debugging">Debugging</a></li>\r
+      <li><a href="#testing">Testing</a></li>\r
       <li><a href="#irgen">LLVM IR Generation</a></li>\r
     </ul>\r
     \r
       wrapped <tt>Type*</tt> which you can then dump.</li>\r
     </ul>\r
   \r
+  <!--=====================================================================-->\r
+  <h2 id="testing">Testing</h2>\r
+  <!--=====================================================================-->\r
+  \r
+  <p>Clang includes a basic regression suite in the tree which can be\r
+  run with <tt>make test</tt> from the top-level clang directory, or\r
+  just <tt>make</tt> in the <em>test</em> sub-directory. <tt>make\r
+  report</tt> can be used after running the tests to summarize the\r
+  results, and <tt>make VERBOSE=1</tt> can be used to show more detail\r
+  about what is being run.</p>\r
+\r
+  <p>For more intensive changes, running\r
+  the <a href="http://llvm.org/docs/TestingGuide.html#testsuiterun">LLVM\r
+  Test Suite</a> with clang is recommended. Currently the best way to\r
+  override LLVMGCC, as in: <tt>make LLVMGCC="ccc -std=gnu89"\r
+  TEST=nightly report</tt> (make sure ccc is in your PATH or use the\r
+  full path).</p>\r
+\r
   <!--=====================================================================-->\r
   <h2 id="irgen">LLVM IR Generation</h2>\r
   <!--=====================================================================-->\r