Skip to content

Commit b0d143a

Browse files
committed
genhtml: Remove coverage results from description page
genhtml incorrectly shows coverage date/owner bin results in the testcase description page header. Fix this by removing all coverage-related header data from that page. Signed-off-by: Peter Oberparleiter <[email protected]>
1 parent bafd092 commit b0d143a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

bin/genhtml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9623,7 +9623,8 @@ END_OF_HTML
96239623
\&SourceFile::nextInDateBin, "Line coverage date bins:",
96249624
$dateBinDetailPage, scalar(@dataRow),
96259625
$tlaSummaryTypes);
9626-
push(@row_right, @$table);
9626+
push(@row_right, @$table)
9627+
if ($type != $HDR_TESTDESC);
96279628

96289629
if ($lcovutil::func_coverage) {
96299630
my $fn_table =
@@ -9636,7 +9637,8 @@ END_OF_HTML
96369637
$dateBinDetailPage,
96379638
scalar(@dataRow),
96389639
$tlaSummaryTypes);
9639-
push(@row_right, @$fn_table);
9640+
push(@row_right, @$fn_table)
9641+
if ($type != $HDR_TESTDESC);
96409642
}
96419643

96429644
if ($lcovutil::br_coverage) {
@@ -9650,7 +9652,8 @@ END_OF_HTML
96509652
$dateBinDetailPage,
96519653
scalar(@dataRow),
96529654
$tlaSummaryTypes);
9653-
push(@row_right, @$br_table);
9655+
push(@row_right, @$br_table)
9656+
if ($type != $HDR_TESTDESC);
96549657
}
96559658
}
96569659
# owner bins..
@@ -9674,7 +9677,8 @@ END_OF_HTML
96749677
$ownerBinDetailPage,
96759678
scalar(@dataRow),
96769679
$tlaSummaryTypes);
9677-
push(@row_right, @$table);
9680+
push(@row_right, @$table)
9681+
if ($type != $HDR_TESTDESC);
96789682

96799683
if ($lcovutil::br_coverage) {
96809684
my $br_table =
@@ -9687,7 +9691,8 @@ END_OF_HTML
96879691
$ownerBinDetailPage,
96889692
scalar(@dataRow),
96899693
$tlaSummaryTypes);
9690-
push(@row_right, @$br_table);
9694+
push(@row_right, @$br_table)
9695+
if ($type != $HDR_TESTDESC);
96919696
}
96929697
}
96939698
}

0 commit comments

Comments
 (0)