<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 8:12 PM, Yuchen Wu <span dir="ltr"><<a href="mailto:yuchenericwu@hotmail.com" target="_blank" class="cremed">yuchenericwu@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Daniel,<br>
<br>
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.<br>
</blockquote><div><br>Thank you!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-Yuchen<br>
<br>
----------------------------------------<br>
> Subject: [llvm] r196256 - Further fix to llvm-cov test.<br>
> Date: Tue, 3 Dec 2013 08:21:14 +0000<br>
> To: <a href="mailto:llvm-commits@cs.uiuc.edu" class="cremed">llvm-commits@cs.uiuc.edu</a><br>
> From: <a href="mailto:djasper@google.com" class="cremed">djasper@google.com</a><br>
<div class="HOEnZb"><div class="h5">><br>
> Author: djasper<br>
> Date: Tue Dec 3 02:21:14 2013<br>
> New Revision: 196256<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=196256&view=rev" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project?rev=196256&view=rev</a><br>
> Log:<br>
> Further fix to llvm-cov test.<br>
><br>
> It turns out that in some build systems, tests are executed in a<br>
> non-writable directory. Hopefully, this finally fixes the issue.<br>
><br>
> Modified:<br>
> llvm/trunk/test/tools/llvm-cov/llvm-cov.test<br>
><br>
> Modified: llvm/trunk/test/tools/llvm-cov/llvm-cov.test<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/llvm-cov.test?rev=196256&r1=196255&r2=196256&view=diff" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/llvm-cov.test?rev=196256&r1=196255&r2=196256&view=diff</a><br>

> ==============================================================================<br>
> --- llvm/trunk/test/tools/llvm-cov/llvm-cov.test (original)<br>
> +++ llvm/trunk/test/tools/llvm-cov/llvm-cov.test Tue Dec 3 02:21:14 2013<br>
> @@ -1,6 +1,10 @@<br>
> +# "cd" and globbing are unsupported in lit internal runner.<br>
> REQUIRES: shell<br>
> -RUN: rm -f test.*<br>
> +RUN: rm -rf %t<br>
> +RUN: mkdir %t<br>
> +RUN: cd %t<br>
> RUN: cp %p/Inputs/test.* .<br>
> +<br>
> RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda<br>
> RUN: diff -aub test.cpp.gcov test.cpp.llcov<br>
> RUN: rm test.cpp.llcov<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu" class="cremed">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank" class="cremed">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a>                                          </div></div></blockquote>
</div><br></div></div>