[llvm] r196256 - Further fix to llvm-cov test.

Daniel Jasper djasper at google.com
Tue Dec 3 11:14:05 PST 2013


On Tue, Dec 3, 2013 at 8:12 PM, Yuchen Wu <yuchenericwu at hotmail.com> wrote:

> Hi Daniel,
>
> Thanks for the changes. One small issue with this: you'll need to copy all
> the test* files not the test.* files to the temporary directory. The reason
> the tests weren't failing was because the missing files were in the XFAIL
> tests. Fixed in r196305.
>

Thank you!


>
> -Yuchen
>
> ----------------------------------------
> > Subject: [llvm] r196256 - Further fix to llvm-cov test.
> > Date: Tue, 3 Dec 2013 08:21:14 +0000
> > To: llvm-commits at cs.uiuc.edu
> > From: djasper at google.com
> >
> > Author: djasper
> > Date: Tue Dec 3 02:21:14 2013
> > New Revision: 196256
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=196256&view=rev
> > Log:
> > Further fix to llvm-cov test.
> >
> > It turns out that in some build systems, tests are executed in a
> > non-writable directory. Hopefully, this finally fixes the issue.
> >
> > Modified:
> > llvm/trunk/test/tools/llvm-cov/llvm-cov.test
> >
> > Modified: llvm/trunk/test/tools/llvm-cov/llvm-cov.test
> > URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/llvm-cov.test?rev=196256&r1=196255&r2=196256&view=diff
> >
> ==============================================================================
> > --- llvm/trunk/test/tools/llvm-cov/llvm-cov.test (original)
> > +++ llvm/trunk/test/tools/llvm-cov/llvm-cov.test Tue Dec 3 02:21:14 2013
> > @@ -1,6 +1,10 @@
> > +# "cd" and globbing are unsupported in lit internal runner.
> > REQUIRES: shell
> > -RUN: rm -f test.*
> > +RUN: rm -rf %t
> > +RUN: mkdir %t
> > +RUN: cd %t
> > RUN: cp %p/Inputs/test.* .
> > +
> > RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
> > RUN: diff -aub test.cpp.gcov test.cpp.llcov
> > RUN: rm test.cpp.llcov
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131203/8fe5951e/attachment.html>


More information about the llvm-commits mailing list