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

John Mosby ojomojo at gmail.com
Mon Mar 30 10:23:38 PDT 2009


On Mon, Mar 30, 2009 at 10:49 AM, Dan Gohman <gohman at apple.com> wrote:

>
> Hi John,
>
> >
> > ======================================================================
> > --- llvm/trunk/docs/TestingGuide.html (original)
> > +++ llvm/trunk/docs/TestingGuide.html Sun Mar 29 23:37:51 2009
> > @@ -695,12 +695,14 @@
> >
> > <p>First, all tests are executed within the LLVM object directory
> > tree.  They
> > <i>are not</i> executed inside of the LLVM source tree. This is
> > because the
> > -test suite creates temporary files during execution.</p>
> > +test suite creates temporary files during execution. This means you
> > must create
> > +a build tree separate from the LLVM source tree in which to run the
> > test suite.</p>
>
> Is this true?  Is it not possible to run the test-suite in srdir ==
> objdir mode
> when it is run from projects/test-suite?


I followed what appeared to be the original process description which starts
off saying that tests are run from within the object (build) directory
rather
than the source tree.


> In fact, there's a major problem with running the test-suite in
> srcdir != objdir mode -- the objdir contains copies of the srcdir's
> Makefiles, and the
> copies are not updated after an svn update.


Absolutely. I see now I confused things here. I run the test suite from
within a build
tree and I maintain consistency manually by removing old test results and
re-configing
in the build tree. I originally ran it from within my source tree but wanted
to have
more than one test area.

Should the docs describe running from within the source tree only?


> ...
> > +         <br>[The Makefiles expect the test suite directory to be
> > named either
> > +         <tt>test-suite</tt> or <tt>llvm-test</tt>. To be safe, use
> > +         <tt>test-suite</tt> as in the above svn command line.]</p>
>
> The name "llvm-test" is a historical artifact. "test-suite" is the
> preferred name currently.  It would be better to avoid mentioning
> "llvm-test"
> here, to avoid confusion.


I was unsure about that, I'll remove "llvm-test".

Thanks for your help,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090330/6d5bbf87/attachment.html>


More information about the llvm-commits mailing list