OSDN Git Service

[llvm-cov] Fix a buggy lit test
authorVedant Kumar <vsk@apple.com>
Wed, 22 Jun 2016 23:58:03 +0000 (23:58 +0000)
committerVedant Kumar <vsk@apple.com>
Wed, 22 Jun 2016 23:58:03 +0000 (23:58 +0000)
There is no check prefix for "WHOLE-FILE": this particular line was
supposed to use the "ALL" prefix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273517 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-cov/showTemplateInstantiations.cpp

index ad00199..2ae7b1a 100644 (file)
@@ -1,7 +1,7 @@
 // RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -filename-equivalence %s | FileCheck -check-prefix=CHECK -check-prefix=ALL %s
 // RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -filename-equivalence -name=_Z4funcIbEiT_ %s | FileCheck -check-prefix=CHECK -check-prefix=FILTER %s
 
-// before coverage   // WHOLE-FILE:   | [[@LINE]]|// before
+// before coverage   // ALL:          | [[@LINE]]|// before
                      // FILTER-NOT:   | [[@LINE-1]]|// before
 template<typename T> // ALL:          | [[@LINE]]|template<typename T>
 int func(T x) {      // ALL-NEXT:    2| [[@LINE]]|int func(T x) {