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 | 2a2ed02069e8eb991251a98a90394b1a76f3171a (patch) | |
tree | 41462f419f06303203acbd7b53debd56bd75c1b7 /llvm/test/tools/llvm-cov/llvm-cov.test | |
parent | c358229e98c31d37661c989e38d57d5f878ae4ff (diff) | |
download | bcm5719-llvm-2a2ed02069e8eb991251a98a90394b1a76f3171a.tar.gz bcm5719-llvm-2a2ed02069e8eb991251a98a90394b1a76f3171a.zip |
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".
llvm-svn: 196228
Diffstat (limited to 'llvm/test/tools/llvm-cov/llvm-cov.test')
-rw-r--r-- | llvm/test/tools/llvm-cov/llvm-cov.test | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/tools/llvm-cov/llvm-cov.test b/llvm/test/tools/llvm-cov/llvm-cov.test index 83d139d166b..69fed0917d3 100644 --- a/llvm/test/tools/llvm-cov/llvm-cov.test +++ b/llvm/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 |