1 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp -format html -o %t.dir 2 3 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S -name=_Z4funcIbEiT_ %S/showTemplateInstantiations.cpp -format html -o %t.filtered.dir 4 5 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp -format html | FileCheck %s -check-prefix=NODIR 6 7 RUN: FileCheck %s -input-file=%t.dir/style.css -check-prefix=STYLE 8 RUN: FileCheck %s -input-file=%t.dir/index.html -check-prefix=TOPLEVEL 9 RUN: FileCheck %s -input-file=%t.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW 10 11 RUN: FileCheck %s -input-file=%t.filtered.dir/style.css -check-prefix=STYLE 12 RUN: FileCheck %s -input-file=%t.filtered.dir/index.html -check-prefix=TOPLEVEL 13 RUN: FileCheck %s -input-file=%t.filtered.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW 14 15 STYLE-DAG: .red 16 STYLE-DAG: .cyan 17 STYLE-DAG: .source-name-title 18 STYLE-DAG: .centered 19 STYLE-DAG: .expansion-view 20 STYLE-DAG: .line-number 21 STYLE-DAG: .light-row 22 STYLE-DAG: .light-row-bold 23 STYLE-DAG: .column-entry 24 STYLE-DAG: .column-entry-bold 25 STYLE-DAG: .column-entry-yellow 26 STYLE-DAG: .column-entry-yellow:hover 27 STYLE-DAG: .column-entry-red 28 STYLE-DAG: .column-entry-red:hover 29 STYLE-DAG: .column-entry-green 30 STYLE-DAG: .column-entry-green:hover 31 STYLE-DAG: .covered-line 32 STYLE-DAG: .uncovered-line 33 STYLE-DAG: .tooltip 34 STYLE-DAG: .tooltip span.tooltip-content 35 STYLE-DAG: th, td 36 STYLE-DAG: td:first-child 37 STYLE-DAG: td:last-child 38 STYLE-DAG: tr:hover 39 40 TOPLEVEL-NOT: <style> 41 TOPLEVEL: <head> 42 TOPLEVEL: <link rel='stylesheet' type='text/css' href='style.css'> 43 TOPLEVEL: </head> 44 45 FILEVIEW-NOT: <style> 46 FILEVIEW: <head> 47 FILEVIEW: <link rel='stylesheet' type='text/css' href='..{{.*}}..{{.*}}style.css'> 48 FILEVIEW: </head> 49 50 NODIR: <head> 51 NODIR: <style> 52 NODIR: </style> 53 NODIR: </head> 54