[llvm] r196256 - Further fix to llvm-cov test.
Daniel Jasper
djasper at google.com
Tue Dec 3 00:21:14 PST 2013
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
More information about the llvm-commits
mailing list