Skip to content

Commit

Permalink
Print existing tests of release in all perform html.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Aug 12, 2024
1 parent 80e94b5 commit f9387d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Html.pm
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ sub html_header {
td.XPASS {background-color: #ff80c0;}
td.FAIL {background-color: #ff8080;}
td.NOEXIT, td.NOTERM, td.NORUN {background-color: #ffff80;}
td.NOLOG, td.NOCLEAN, td.NOEXIST {background-color: #ffffff;}
td.NOLOG, td.NOCLEAN, td.NOEXIST, td.EXIST {background-color: #ffffff;}
td.status, td.status a {color: black;}
td.outlier {color: red;}
iframe {width: 100%; border: none; min-height: 1200px;}
Expand Down Expand Up @@ -140,7 +140,8 @@ sub status2severity {
$status eq 'NORUN' ? 8 :
$status eq 'NOLOG' ? 9 :
$status eq 'NOCLEAN' ? 10 :
$status eq 'NOEXIST' ? 11 : 12;
$status eq 'NOEXIST' ? 11 :
$status eq 'EXIST' ? 12 : 13;
if ($severity == 12 && ! $badstatus{$status}) {
$badstatus{$status} = 1;
warn "unknown status '$status'\n";
Expand Down Expand Up @@ -237,6 +238,12 @@ TABLE
<td class="status NOEXIST">NOEXIST</td>
<td>test directory not found</td>
</tr>
TABLE
print $html <<"TABLE" if $type eq "perform";
<tr>
<td class="status EXIST">EXIST</td>
<td>some test result exists</td>
</tr>
TABLE
print $html <<"TABLE";
</table>
Expand Down
3 changes: 3 additions & 0 deletions perform-html.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1702,6 +1702,9 @@ sub list_reldates {
);
# use the date hash to store releases to iterate over both
$D{$release} = \%rv;
foreach my $test (keys %{$R{$release}{tests}}) {
$T{$test}{$release} = { status => "EXIST" };
}
push @reldates, $release;
}
return @reldates;
Expand Down

0 comments on commit f9387d3

Please sign in to comment.