1 RUN: llvm-profdata merge %S/Inputs/hideUnexecutedSubviews.proftext -o %t.profdata
3 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %t.profdata -show-region-summary -show-instantiation-summary -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp | FileCheck -check-prefix=FILE %s
5 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %t.profdata -format html -show-region-summary -show-instantiation-summary -o %t.html.dir -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp
6 RUN: FileCheck -check-prefix=FILE %s -input-file %t.html.dir/coverage/tmp/showTemplateInstantiations.cpp.html
8 FILE: Unexecuted instantiation: _Z4funcIiEiT_
9 FILE: Unexecuted instantiation: _Z4funcIbEiT_
10 FILE-NOT: Unexecuted instantiation
12 RUN: FileCheck -check-prefix=INDEX %s -input-file %t.html.dir/index.html
14 INDEX: <td class='column-entry-bold'>Filename</td>
15 INDEX: <td class='column-entry-bold'>Function Coverage</td>
16 INDEX: <td class='column-entry-bold'>Instantiation Coverage</td>
17 INDEX: <td class='column-entry-bold'>Line Coverage</td>
18 INDEX: <td class='column-entry-bold'>Region Coverage</td>
19 INDEX: <td class='column-entry-red'>
21 INDEX: <td class='column-entry-red'>
23 INDEX: <td class='column-entry-red'>
25 INDEX: <td class='column-entry-red'>