[llvm] r273517 - [llvm-cov] Fix a buggy lit test

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 16:58:03 PDT 2016


Author: vedantk
Date: Wed Jun 22 18:58:03 2016
New Revision: 273517

URL: http://llvm.org/viewvc/llvm-project?rev=273517&view=rev
Log:
[llvm-cov] Fix a buggy lit test

There is no check prefix for "WHOLE-FILE": this particular line was
supposed to use the "ALL" prefix.

Modified:
    llvm/trunk/test/tools/llvm-cov/showTemplateInstantiations.cpp

Modified: llvm/trunk/test/tools/llvm-cov/showTemplateInstantiations.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/showTemplateInstantiations.cpp?rev=273517&r1=273516&r2=273517&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/showTemplateInstantiations.cpp (original)
+++ llvm/trunk/test/tools/llvm-cov/showTemplateInstantiations.cpp Wed Jun 22 18:58:03 2016
@@ -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) {




More information about the llvm-commits mailing list