summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/report.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-02-05 20:11:08 +0000
committerVedant Kumar <vsk@apple.com>2017-02-05 20:11:08 +0000
commit62eb0fdb08da2b8463fdaae33abbcbe8b52e5c19 (patch)
tree5ec27278b18cc6ae19a61573b652c1115eee3614 /llvm/test/tools/llvm-cov/report.cpp
parentf2b067c42eb6691fb1b39ba2c4c66f9165a12364 (diff)
downloadbcm5719-llvm-62eb0fdb08da2b8463fdaae33abbcbe8b52e5c19.tar.gz
bcm5719-llvm-62eb0fdb08da2b8463fdaae33abbcbe8b52e5c19.zip
[llvm-cov] Don't show function summaries when filtering by filename (fixes PR31395)
llvm-svn: 294137
Diffstat (limited to 'llvm/test/tools/llvm-cov/report.cpp')
-rw-r--r--llvm/test/tools/llvm-cov/report.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-cov/report.cpp b/llvm/test/tools/llvm-cov/report.cpp
index c28dd758940..49425eb5f62 100644
--- a/llvm/test/tools/llvm-cov/report.cpp
+++ b/llvm/test/tools/llvm-cov/report.cpp
@@ -1,6 +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 %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
+// RUN: llvm-cov report -show-functions %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 -show-functions %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: ---
OpenPOWER on IntegriCloud