From: Vedant Kumar Date: Wed, 22 Jun 2016 23:58:03 +0000 (+0000) Subject: [llvm-cov] Fix a buggy lit test X-Git-Tag: android-x86-7.1-r4~31377 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d73d2ca45ec5fba7d00d4f014a99943173bb33d4;p=android-x86%2Fexternal-llvm.git [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273517 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-cov/showTemplateInstantiations.cpp b/test/tools/llvm-cov/showTemplateInstantiations.cpp index ad00199712f..2ae7b1a7709 100644 --- a/test/tools/llvm-cov/showTemplateInstantiations.cpp +++ b/test/tools/llvm-cov/showTemplateInstantiations.cpp @@ -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 // ALL: | [[@LINE]]|template int func(T x) { // ALL-NEXT: 2| [[@LINE]]|int func(T x) {