<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 30, 2009, at 9:49 AM, Dan Gohman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Mar 29, 2009, at 9:37 PM, John Mosby wrote:<br><br><blockquote type="cite">Author: jdm<br></blockquote><blockquote type="cite">Date: Sun Mar 29 23:37:51 2009<br></blockquote><blockquote type="cite">New Revision: 68023<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=68023&view=rev">http://llvm.org/viewvc/llvm-project?rev=68023&view=rev</a><br></blockquote><blockquote type="cite">Log:<br></blockquote><blockquote type="cite">Clarify section on setting up and running test-suite<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Modified:<br></blockquote><blockquote type="cite">   llvm/trunk/docs/TestingGuide.html<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Modified: llvm/trunk/docs/TestingGuide.html<br></blockquote><blockquote type="cite">URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.html?rev=68023&r1=68022&r2=68023&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.html?rev=68023&r1=68022&r2=68023&view=diff</a><br></blockquote><br>Hi John,<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">=<br></blockquote><blockquote type="cite">=<br></blockquote><blockquote type="cite">=<br></blockquote><blockquote type="cite">=<br></blockquote><blockquote type="cite">=<br></blockquote><blockquote type="cite">=<br></blockquote><blockquote type="cite">=<br></blockquote><blockquote type="cite">=<br></blockquote><blockquote type="cite">======================================================================<br></blockquote><blockquote type="cite">--- llvm/trunk/docs/TestingGuide.html (original)<br></blockquote><blockquote type="cite">+++ llvm/trunk/docs/TestingGuide.html Sun Mar 29 23:37:51 2009<br></blockquote><blockquote type="cite">@@ -695,12 +695,14 @@<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><p>First, all tests are executed within the LLVM object directory  <br></blockquote><blockquote type="cite">tree.  They<br></blockquote><blockquote type="cite"><i>are not</i> executed inside of the LLVM source tree. This is  <br></blockquote><blockquote type="cite">because the<br></blockquote><blockquote type="cite">-test suite creates temporary files during execution.</p><br></blockquote><blockquote type="cite">+test suite creates temporary files during execution. This means you  <br></blockquote><blockquote type="cite">must create<br></blockquote><blockquote type="cite">+a build tree separate from the LLVM source tree in which to run the  <br></blockquote><blockquote type="cite">test suite.</p><br></blockquote><br>Is this true?  Is it not possible to run the test-suite in srdir ==  <br>objdir mode<br>when it is run from projects/test-suite?<br><br></div></blockquote><div><br></div><div>This is NOT true. I test this every single time I do a release (srcdir=objdir). Please undo this change to the documentation.</div><div><br></div><div>-Tanya</div><div><br></div><div><br></div><div><br></div><br><blockquote type="cite"><div>In fact, there's a major problem with running the test-suite in  <br>srcdir != objdir<br>mode -- the objdir contains copies of the srcdir's Makefiles, and the  <br>copies<br>are not updated after an svn update.<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><p>To run the test suite, you need to use the following steps:</p><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><ol><br></blockquote><blockquote type="cite">-  <li><tt>cd</tt> into the <tt>llvm/projects</tt> directory</li><br></blockquote><blockquote type="cite">+  <li><tt>cd</tt> into the <tt>llvm/projects</tt> directory in your  <br></blockquote><blockquote type="cite">source tree.<br></blockquote><blockquote type="cite">+  </li><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">  <li><p>Check out the <tt>test-suite</tt> module with:</p><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">@@ -709,24 +711,35 @@<br></blockquote><blockquote type="cite">% svn co <a href="http://llvm.org/svn/llvm-project/test-suite/trunk">http://llvm.org/svn/llvm-project/test-suite/trunk</a> test-suite<br></blockquote><blockquote type="cite"></pre><br></blockquote><blockquote type="cite"></div><br></blockquote><blockquote type="cite">-<br></blockquote><blockquote type="cite">-      <p>This will get the test suite into <tt>llvm/projects/llvm- <br></blockquote><blockquote type="cite">test</tt></p><br></blockquote><blockquote type="cite">-<br></blockquote><blockquote type="cite">-  <li><p>Configure the test suite using llvm configure. This will  <br></blockquote><blockquote type="cite">automatically<br></blockquote><blockquote type="cite">-  configure test-suite.  You must do it from the top level  <br></blockquote><blockquote type="cite">otherwise llvm-gcc<br></blockquote><blockquote type="cite">-  will not be set which is required to run llvm-test:</p><br></blockquote><blockquote type="cite">+      <p>This will get the test suite into <tt>llvm/projects/test- <br></blockquote><blockquote type="cite">suite</tt>.<br></blockquote><blockquote type="cite">+         <br>[The Makefiles expect the test suite directory to be  <br></blockquote><blockquote type="cite">named either<br></blockquote><blockquote type="cite">+         <tt>test-suite</tt> or <tt>llvm-test</tt>. To be safe, use<br></blockquote><blockquote type="cite">+         <tt>test-suite</tt> as in the above svn command line.]</p><br></blockquote><br>The name "llvm-test" is a historical artifact. "test-suite" is the  <br>preferred<br>name currently.  It would be better to avoid mentioning "llvm-test"  <br>here,<br>to avoid confusion.<br><br>Dan<br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br></div></blockquote></div><br></body></html>