[llvm-commits] [llvm] r154992 - /llvm/trunk/docs/TestingGuide.html

Eli Bendersky eli.bendersky at intel.com
Wed Apr 18 01:02:25 PDT 2012


Author: eliben
Date: Wed Apr 18 03:02:25 2012
New Revision: 154992

URL: http://llvm.org/viewvc/llvm-project?rev=154992&view=rev
Log:
A bit of cleanup in the TestingGuide doc - dg.exp files no longer exist

Modified:
    llvm/trunk/docs/TestingGuide.html

Modified: llvm/trunk/docs/TestingGuide.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.html?rev=154992&r1=154991&r2=154992&view=diff
==============================================================================
--- llvm/trunk/docs/TestingGuide.html (original)
+++ llvm/trunk/docs/TestingGuide.html Wed Apr 18 03:02:25 2012
@@ -299,15 +299,15 @@
   you.</p>
 
   <p>In order for the regression tests to work, each directory of tests must
-  have a <tt>dg.exp</tt> file. Lit looks for this file to determine how to
-  run the tests. This file is just a Tcl script and it can do anything you want,
+  have a <tt>lit.local.cfg</tt> file. Lit looks for this file to determine how
+  to run the tests. This file is just Python code and thus is very flexible,
   but we've standardized it for the LLVM regression tests. If you're adding a
-  directory of tests, just copy <tt>dg.exp</tt> from another directory to get
-  running. The standard <tt>dg.exp</tt> simply loads a Tcl library
-  (<tt>test/lib/llvm.exp</tt>) and calls the <tt>llvm_runtests</tt> function
-  defined in that library with a list of file names to run. The names are
-  obtained by using Tcl's glob command.  Any directory that contains only
-  directories does not need the <tt>dg.exp</tt> file.</p>
+  directory of tests, just copy <tt>lit.local.cfg</tt> from another directory to
+  get running. The standard <tt>lit.local.cfg</tt> simply specifies which files
+  to look in for tests. Any directory that contains only directories does not
+  need the <tt>lit.local.cfg</tt> file. Read the
+  <a href="http://llvm.org/cmds/lit.html">Lit documentation</a> for more
+  information. </p>
 
   <p>The <tt>llvm-runtests</tt> function looks at each file that is passed to
   it and gathers any lines together that match "RUN:". These are the "RUN" lines
@@ -473,7 +473,7 @@
 llc, then pipe the output of llc into FileCheck.  This means that FileCheck will
 be verifying its standard input (the llc output) against the filename argument
 specified (the original .ll file specified by "%s").  To see how this works,
-lets look at the rest of the .ll file (after the RUN line):</p>
+let's look at the rest of the .ll file (after the RUN line):</p>
 
 <div class="doc_code">
 <pre>





More information about the llvm-commits mailing list