llvm/test/tools/llvm-cov/multiple-files.test
Vedant Kumar a57be10507 [llvm-cov] Drop the longest common filename prefix from summaries
Remove the longest common prefix from filenames when printing coverage
summaries. This makes them easier to compare.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280895 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-08 00:56:43 +00:00

10 lines
358 B
Plaintext

// RUN: llvm-profdata merge %S/Inputs/multiple-files.proftext -o %t.profdata
// RUN: llvm-cov report %S/Inputs/multiple-files.covmapping -instr-profile %t.profdata | FileCheck %s
// CHECK: Filename
// CHECK-NEXT: ---
// CHECK-NEXT: {{^}}a{{[/\\]}}f2.c
// CHECK-NEXT: {{^}}b{{[/\\]}}c{{[/\\]}}f4.c
// CHECK-NEXT: {{^}}b{{[/\\]}}f3.c
// CHECK-NEXT: {{^}}f1.c