@@ -13,29 +13,47 @@ INVALID-ARRANGE: error: -coverage-watermark: invalid number range '10,20', must
1313RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -format html -show-region-summary -show-instantiation-summary -o %t.html.dir -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp
1414RUN: FileCheck -check-prefix=ORIGIN %s -input-file %t.html.dir/index.html
1515
16+ ORIGIN: Totals
17+ ORIGIN: <td class='column-entry-green'>
18+ ORIGIN: 100.00% (2/2)
1619ORIGIN: <td class='column-entry-green'>
1720ORIGIN: 100.00% (3/3)
1821ORIGIN: <td class='column-entry-red'>
1922ORIGIN: 75.00% (9/12)
2023ORIGIN: <td class='column-entry-red'>
2124ORIGIN: 66.67% (4/6)
25+ ORIGIN: <td class='column-entry-gray'>
26+ ORIGIN: - (0/0)
27+ ORIGIN: </tr>
2228
23- RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -format html -show-region-summary -show-instantiation-summary -o %t.html.dir -path-equivalence=/tmp,%S -coverage-watermark 80,60 %S/showTemplateInstantiations.cpp
29+ RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -format html -show-region-summary -show-instantiation-summary -o %t.html.dir -path-equivalence=/tmp,%S -coverage-watermark 80,70 %S/showTemplateInstantiations.cpp
2430RUN: FileCheck -check-prefix=DOWNGRADE1 %s -input-file %t.html.dir/index.html
2531
32+ DOWNGRADE:1 Totals
33+ DOWNGRADE1: <td class='column-entry-green'>
34+ DOWNGRADE1: 100.00% (2/2)
2635DOWNGRADE1: <td class='column-entry-green'>
2736DOWNGRADE1: 100.00% (3/3)
2837DOWNGRADE1: <td class='column-entry-yellow'>
2938DOWNGRADE1: 75.00% (9/12)
3039DOWNGRADE1: <td class='column-entry-red'>
3140DOWNGRADE1: 66.67% (4/6)
41+ DOWNGRADE1: <td class='column-entry-gray'>
42+ DOWNGRADE1: - (0/0)
43+ DOWNGRADE1: </tr>
3244
3345RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -format html -show-region-summary -show-instantiation-summary -o %t.html.dir -path-equivalence=/tmp,%S -coverage-watermark 70,50 %S/showTemplateInstantiations.cpp
3446RUN: FileCheck -check-prefix=DOWNGRADE2 %s -input-file %t.html.dir/index.html
3547
48+ DOWNGRADE:1 Totals
49+ DOWNGRADE2: <td class='column-entry-green'>
50+ DOWNGRADE2: 100.00% (2/2)
3651DOWNGRADE2: <td class='column-entry-green'>
3752DOWNGRADE2: 100.00% (3/3)
3853DOWNGRADE2: <td class='column-entry-green'>
3954DOWNGRADE2: 75.00% (9/12)
4055DOWNGRADE2: <td class='column-entry-yellow'>
4156DOWNGRADE2: 66.67% (4/6)
57+ DOWNGRADE1: <td class='column-entry-gray'>
58+ DOWNGRADE1: - (0/0)
59+ DOWNGRADE1: </tr>
0 commit comments