]> granicus.if.org Git - llvm/commitdiff
[llvm-cov] Use -check-prefixes in a test (NFC)
authorVedant Kumar <vsk@apple.com>
Tue, 28 Jun 2016 00:18:53 +0000 (00:18 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 28 Jun 2016 00:18:53 +0000 (00:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273970 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-cov/showLineExecutionCounts.cpp

index 83fee977e6d8f50a5a9a92ab289eea60caa87af8..6b969f709a9b3d5d8c081401f2266c462f438b82 100644 (file)
@@ -26,5 +26,5 @@ int main() {                             // CHECK:   161| [[@LINE]]|int main(
 // after coverage                   // WHOLE-FILE:      | [[@LINE]]|// after
                                     // FILTER-NOT:      | [[@LINE-1]]|// after
 
-// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -instr-profile %t.profdata -filename-equivalence %s | FileCheck -check-prefix=CHECK -check-prefix=WHOLE-FILE %s
-// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -instr-profile %t.profdata -filename-equivalence -name=main %s | FileCheck -check-prefix=CHECK -check-prefix=FILTER %s
+// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -instr-profile %t.profdata -filename-equivalence %s | FileCheck -check-prefixes=CHECK,WHOLE-FILE %s
+// RUN: llvm-cov show %S/Inputs/lineExecutionCounts.covmapping -instr-profile %t.profdata -filename-equivalence -name=main %s | FileCheck -check-prefixes=CHECK,FILTER %s