[llvm-cov] Fix more -path-equivalence test bugs

llvm-svn: 317764
This commit is contained in:
Vedant Kumar 2017-11-09 02:50:24 +00:00
parent 7d642b767c
commit a1abb655be
3 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// RUN: llvm-cov show %S/Inputs/deferred-regions.covmapping -instr-profile %S/Inputs/deferred-regions.profdata -show-line-counts-or-regions -dump -path-equivalence=/Users/vk/src/llvm.org-coverage-braces/llvm/test/tools,%S/.. %s 2>%t.markers > %t.out && FileCheck %s -input-file %t.out && FileCheck %s -input-file %t.markers -check-prefix=MARKER // RUN: llvm-cov show %S/Inputs/deferred-regions.covmapping -instr-profile %S/Inputs/deferred-regions.profdata -show-line-counts-or-regions -dump -path-equivalence=/tmp,%S %s 2>%t.markers > %t.out && FileCheck %s -input-file %t.out && FileCheck %s -input-file %t.markers -check-prefix=MARKER
void foo(int x) { void foo(int x) {
if (x == 0) { // CHECK: [[@LINE]]|{{ +}}2| if (x == 0) { // CHECK: [[@LINE]]|{{ +}}2|