summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cov/showProjectSummary.cpp
diff options
context:
space:
mode:
authorSean Eveson <eveson.sean@gmail.com>2017-09-28 10:07:30 +0000
committerSean Eveson <eveson.sean@gmail.com>2017-09-28 10:07:30 +0000
commitfa8ef35e786b59d2916a7358c30c1489a7d79b19 (patch)
tree36c1109197a1708c03e6e76b48428228c468e223 /llvm/test/tools/llvm-cov/showProjectSummary.cpp
parent89d2be0702e1e57bfe514b050bdbd743c3e8731f (diff)
downloadbcm5719-llvm-fa8ef35e786b59d2916a7358c30c1489a7d79b19.tar.gz
bcm5719-llvm-fa8ef35e786b59d2916a7358c30c1489a7d79b19.zip
[llvm-cov] Create directory structure when filtering using -name*= options
Before this change using any of the -name*= command line options with an output directory would result in a single file (functions.txt/functions.html) containing the coverage for those specific functions. Now you get the same directory structure as when not using any -name*= options. Differential Revision: https://reviews.llvm.org/D38280 llvm-svn: 314396
Diffstat (limited to 'llvm/test/tools/llvm-cov/showProjectSummary.cpp')
-rw-r--r--llvm/test/tools/llvm-cov/showProjectSummary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-cov/showProjectSummary.cpp b/llvm/test/tools/llvm-cov/showProjectSummary.cpp
index 4d0b4f18b51..907fccb6bb8 100644
--- a/llvm/test/tools/llvm-cov/showProjectSummary.cpp
+++ b/llvm/test/tools/llvm-cov/showProjectSummary.cpp
@@ -24,5 +24,5 @@ int main(int argc, char ** argv) {
// RUN: llvm-cov show %S/Inputs/showProjectSummary.covmapping -format=html -o %t.dir -instr-profile %t.profdata -project-title "Test Suite" -path-equivalence=/tmp,%S %s
// RUN: FileCheck -check-prefixes=HTML-TITLE,HTML,HTML-FILE,HTML-HEADER -input-file %t.dir/coverage/tmp/showProjectSummary.cpp.html %S/Inputs/showProjectSummary.test
// RUN: FileCheck -check-prefixes=HTML-TITLE,HTML,HTML-FOOTER -input-file %t.dir/index.html %S/Inputs/showProjectSummary.test
-// RUN: llvm-cov show %S/Inputs/showProjectSummary.covmapping -format=html -o %t.dir -instr-profile %t.profdata -project-title "Test Suite" -path-equivalence=/tmp,%S -name=main %s
-// RUN: FileCheck -check-prefixes=HTML-FUNCTION,HTML-HEADER -input-file %t.dir/functions.html %S/Inputs/showProjectSummary.test
+// RUN: llvm-cov show %S/Inputs/showProjectSummary.covmapping -format=html -o %t.filtered.dir -instr-profile %t.profdata -project-title "Test Suite" -path-equivalence=/tmp,%S -name=main %s
+// RUN: FileCheck -check-prefixes=HTML-TITLE,HTML,HTML-FOOTER -input-file %t.filtered.dir/index.html %S/Inputs/showProjectSummary.test
OpenPOWER on IntegriCloud