@@ -13,29 +13,47 @@ INVALID-ARRANGE: error: -coverage-watermark: invalid number range '10,20', must
13
13
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 %S/showTemplateInstantiations.cpp
14
14
RUN: FileCheck -check-prefix=ORIGIN %s -input-file %t.html.dir/index.html
15
15
16
+ ORIGIN: Totals
17
+ ORIGIN: <td class='column-entry-green'>
18
+ ORIGIN: 100.00% (2/2)
16
19
ORIGIN: <td class='column-entry-green'>
17
20
ORIGIN: 100.00% (3/3)
18
21
ORIGIN: <td class='column-entry-red'>
19
22
ORIGIN: 75.00% (9/12)
20
23
ORIGIN: <td class='column-entry-red'>
21
24
ORIGIN: 66.67% (4/6)
25
+ ORIGIN: <td class='column-entry-gray'>
26
+ ORIGIN: - (0/0)
27
+ ORIGIN: </tr>
22
28
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
24
30
RUN: FileCheck -check-prefix=DOWNGRADE1 %s -input-file %t.html.dir/index.html
25
31
32
+ DOWNGRADE:1 Totals
33
+ DOWNGRADE1: <td class='column-entry-green'>
34
+ DOWNGRADE1: 100.00% (2/2)
26
35
DOWNGRADE1: <td class='column-entry-green'>
27
36
DOWNGRADE1: 100.00% (3/3)
28
37
DOWNGRADE1: <td class='column-entry-yellow'>
29
38
DOWNGRADE1: 75.00% (9/12)
30
39
DOWNGRADE1: <td class='column-entry-red'>
31
40
DOWNGRADE1: 66.67% (4/6)
41
+ DOWNGRADE1: <td class='column-entry-gray'>
42
+ DOWNGRADE1: - (0/0)
43
+ DOWNGRADE1: </tr>
32
44
33
45
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 70,50 %S/showTemplateInstantiations.cpp
34
46
RUN: FileCheck -check-prefix=DOWNGRADE2 %s -input-file %t.html.dir/index.html
35
47
48
+ DOWNGRADE:1 Totals
49
+ DOWNGRADE2: <td class='column-entry-green'>
50
+ DOWNGRADE2: 100.00% (2/2)
36
51
DOWNGRADE2: <td class='column-entry-green'>
37
52
DOWNGRADE2: 100.00% (3/3)
38
53
DOWNGRADE2: <td class='column-entry-green'>
39
54
DOWNGRADE2: 75.00% (9/12)
40
55
DOWNGRADE2: <td class='column-entry-yellow'>
41
56
DOWNGRADE2: 66.67% (4/6)
57
+ DOWNGRADE1: <td class='column-entry-gray'>
58
+ DOWNGRADE1: - (0/0)
59
+ DOWNGRADE1: </tr>
0 commit comments