Skip to content

Commit 06e5dec

Browse files
nikictstellar
authored andcommitted
Fix test failures after a92ceea
1 parent eccac5a commit 06e5dec

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

llvm/test/tools/llvm-cov/branch-c-general.test

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,18 @@
118118
// REPORT-NEXT: ---
119119
// REPORT-NEXT: simple_loops 8 0 100.00% 9 0 100.00% 6 0 100.00%
120120
// REPORT-NEXT: conditionals 24 0 100.00% 15 0 100.00% 16 2 87.50%
121-
// REPORT-NEXT: early_exits 20 4 80.00% 25 3 88.00% 16 6 62.50%
122-
// REPORT-NEXT: jumps 39 12 69.23% 48 4 91.67% 26 9 65.38%
123-
// REPORT-NEXT: switches 28 5 82.14% 38 5 86.84% 30 9 70.00%
121+
// REPORT-NEXT: early_exits 20 4 80.00% 25 2 92.00% 16 6 62.50%
122+
// REPORT-NEXT: jumps 39 12 69.23% 48 2 95.83% 26 9 65.38%
123+
// REPORT-NEXT: switches 28 5 82.14% 38 4 89.47% 30 9 70.00%
124124
// REPORT-NEXT: big_switch 25 1 96.00% 32 0 100.00% 30 6 80.00%
125125
// REPORT-NEXT: boolean_operators 16 0 100.00% 13 0 100.00% 22 2 90.91%
126126
// REPORT-NEXT: boolop_loops 19 0 100.00% 14 0 100.00% 16 2 87.50%
127-
// REPORT-NEXT: conditional_operator 4 2 50.00% 8 1 87.50% 4 2 50.00%
127+
// REPORT-NEXT: conditional_operator 4 2 50.00% 8 0 100.00% 4 2 50.00%
128128
// REPORT-NEXT: do_fallthrough 9 0 100.00% 12 0 100.00% 6 0 100.00%
129129
// REPORT-NEXT: main 1 0 100.00% 16 0 100.00% 0 0 0.00%
130130
// REPORT-NEXT: c-general.c:static_func 4 0 100.00% 4 0 100.00% 2 0 100.00%
131131
// REPORT-NEXT: ---
132-
// REPORT-NEXT: TOTAL 197 24 87.82% 234 13 94.44% 174 38 78.16%
132+
// REPORT-NEXT: TOTAL 197 24 87.82% 234 8 96.58% 174 38 78.16%
133133

134134
// Test file-level report.
135135
// RUN: llvm-profdata merge %S/Inputs/branch-c-general.proftext -o %t.profdata
@@ -157,7 +157,7 @@
157157
// HTML-INDEX: <td class='column-entry-green'>
158158
// HTML-INDEX: 100.00% (12/12)
159159
// HTML-INDEX: <td class='column-entry-yellow'>
160-
// HTML-INDEX: 94.44% (221/234)
160+
// HTML-INDEX: 96.58% (226/234)
161161
// HTML-INDEX: <td class='column-entry-yellow'>
162162
// HTML-INDEX: 87.82% (173/197)
163163
// HTML-INDEX: <td class='column-entry-red'>

llvm/test/tools/llvm-cov/branch-logical-mixed.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
8484

8585
// REPORT: Name Regions Miss Cover Lines Miss Cover Branches Miss Cover
8686
// REPORT-NEXT: ---
87-
// REPORT-NEXT: _Z4funcii 77 9 88.31% 68 10 85.29% 80 32 60.00%
87+
// REPORT-NEXT: _Z4funcii 77 9 88.31% 68 3 95.59% 80 32 60.00%
8888
// REPORT-NEXT: main 1 0 100.00% 5 0 100.00% 0 0 0.00%
8989
// REPORT-NEXT: ---
90-
// REPORT-NEXT: TOTAL 78 9 88.46% 73 10 86.30% 80 32 60.00%
90+
// REPORT-NEXT: TOTAL 78 9 88.46% 73 3 95.89% 80 32 60.00%

llvm/test/tools/llvm-cov/branch-noShowBranch.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
// REPORT-NOT: do_fallthrough 9 0 100.00% 12 0 100.00% 6 0 100.00%
2121
// REPORT-NOT: main 1 0 100.00% 16 0 100.00% 0 0 0.00%
2222
// REPORT-NOT: c-general.c:static_func 4 0 100.00% 4 0 100.00% 2 0 100.00%
23-
// REPORT: TOTAL 197 24 87.82% 234 13 94.44%
24-
// REPORT-NOT: TOTAL 197 24 87.82% 234 13 94.44% 174 38 78.16%
23+
// REPORT: TOTAL 197 24 87.82% 234 8 96.58%
24+
// REPORT-NOT: TOTAL 197 24 87.82% 234 8 96.58% 174 38 78.16%
2525

0 commit comments

Comments
 (0)