[PATCH] D38457: [llvm-cov] Hide files with no coverage from the index when filtering by name

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 08:48:29 PDT 2017


vsk added a comment.

Could you upload a diff with some source context (e.g 'git diff -U1000')?



================
Comment at: test/tools/llvm-cov/dir-with-filtering.test:38
+RUN: llvm-cov show %S/Inputs/dir-with-filtering.covmapping -o %t.text_one_func -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs -name=main
+RUN: FileCheck -input-file=%t.text_one_func/index.txt %s -check-prefix=TEXT-INDEX-ONE-FILE
+
----------------
This test looks like it would pass without this patch's functionality change. Could you "CHECK-NOT" against "Files which ..."?


https://reviews.llvm.org/D38457





More information about the llvm-commits mailing list