diff options
author | Vedant Kumar <vsk@apple.com> | 2016-09-23 18:57:35 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-09-23 18:57:35 +0000 |
commit | 458808805091f0f7e73a4d91c72e909f1d49a7eb (patch) | |
tree | de903dd66b2ad9606428b9b8bf2af56a1df5e6d6 /llvm/test/tools/llvm-cov/report.cpp | |
parent | bc6479850e1d4a4522c6d195f93704d3e78e54e3 (diff) | |
download | bcm5719-llvm-458808805091f0f7e73a4d91c72e909f1d49a7eb.tar.gz bcm5719-llvm-458808805091f0f7e73a4d91c72e909f1d49a7eb.zip |
[llvm-cov] Filter away source files that aren't in the coverage mapping
... so that they don't show up in the index. This came up because polly
contains a .git directory and some other unmapped input in its source
dir.
llvm-svn: 282282
Diffstat (limited to 'llvm/test/tools/llvm-cov/report.cpp')
-rw-r--r-- | llvm/test/tools/llvm-cov/report.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-cov/report.cpp b/llvm/test/tools/llvm-cov/report.cpp index 824442f99c4..c28dd758940 100644 --- a/llvm/test/tools/llvm-cov/report.cpp +++ b/llvm/test/tools/llvm-cov/report.cpp @@ -1,5 +1,6 @@ // RUN: llvm-cov report %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata -filename-equivalence 2>&1 | FileCheck %s -// RUN: llvm-cov report %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata -filename-equivalence report.cpp 2>&1 | FileCheck -check-prefix=FILT-NEXT %s +// RUN: llvm-cov report %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata -filename-equivalence report.cpp 2>&1 | FileCheck -check-prefix=FILT %s +// RUN: llvm-cov report %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata -filename-equivalence report.cpp does-not-exist.cpp 2>&1 | FileCheck -check-prefix=FILT %s // CHECK: Regions Missed Regions Cover Functions Missed Functions Executed Instantiations Missed Insts. Executed Lines Missed Lines Cover // CHECK-NEXT: --- |