diff options
author | Daniel Jasper <djasper@google.com> | 2013-12-03 07:35:32 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-12-03 07:35:32 +0000 |
commit | 5004f51a3345251dee68215e543af45b54594f7a (patch) | |
tree | 18ea5abe010ebcfb88f5ce687b7b51ea138b692e /test/tools | |
parent | f0e108559199b8430dd68f34996c1d120ded37e2 (diff) | |
download | llvm-5004f51a3345251dee68215e543af45b54594f7a.tar.gz llvm-5004f51a3345251dee68215e543af45b54594f7a.tar.bz2 llvm-5004f51a3345251dee68215e543af45b54594f7a.tar.xz |
Copy input files to test directory.
With r196184, llvm-cov creates a new file right next to the input file.
However, the Inputs-directory can't simply be assumed to be writable
under all build systems.
Also, this prevents a new source file from showing up in the source tree
if the test aborts before the call to "rm".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools')
-rw-r--r-- | test/tools/llvm-cov/llvm-cov.test | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/tools/llvm-cov/llvm-cov.test b/test/tools/llvm-cov/llvm-cov.test index 83d139d166..69fed0917d 100644 --- a/test/tools/llvm-cov/llvm-cov.test +++ b/test/tools/llvm-cov/llvm-cov.test @@ -1,7 +1,4 @@ -RUN: cd %p/Inputs -# "cd" is unsupported in lit internal runner. -REQUIRES: shell - +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 |