diff options
| author | Vedant Kumar <vsk@apple.com> | 2016-09-22 21:49:43 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2016-09-22 21:49:43 +0000 |
| commit | 1ce90d889a2664dd8dd4cd5e6410a96f3595f33a (patch) | |
| tree | 6f984f4a54dc83223c1c1f4e60b59cfb9b9e0437 /llvm/test | |
| parent | 5f8492e2ce8efb55caad8f7b9c289edd1541dcf0 (diff) | |
| download | bcm5719-llvm-1ce90d889a2664dd8dd4cd5e6410a96f3595f33a.tar.gz bcm5719-llvm-1ce90d889a2664dd8dd4cd5e6410a96f3595f33a.zip | |
[llvm-cov] Add the ability to specify directories of input source files
We've supported restricting coverage reports to a set of files for a
long time. Add support for being able to restrict by entire directories.
I suppose this supersedes D20803.
llvm-svn: 282202
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/llvm-cov/scan-directory.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/scan-directory.test b/llvm/test/tools/llvm-cov/scan-directory.test new file mode 100644 index 00000000000..9bacfc209dd --- /dev/null +++ b/llvm/test/tools/llvm-cov/scan-directory.test @@ -0,0 +1,9 @@ +RUN: mkdir -p %t/a/b/ +RUN: echo "" > %t/a/b/c.tmp +RUN: echo "" > %t/a/d.tmp + +RUN: llvm-cov show /dev/null -instr-profile /dev/null -dump-collected-paths %t | FileCheck %s +RUN: llvm-cov show /dev/null -instr-profile /dev/null -dump-collected-paths %t/a/b/c.tmp %t/a/d.tmp | FileCheck %s + +CHECK-DAG: {{.*}}c.tmp +CHECK-DAG: {{.*}}d.tmp |

