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

Yuchen Wu yuchenericwu at hotmail.com
Tue Dec 3 11:12:44 PST 2013


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.

-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 		 	   		  



More information about the llvm-commits mailing list