Module: tools Branch: master Commit: b60f6293ee66e74a6cf744aa4d9d3a33dd87a17c URL: https://gitlab.winehq.org/winehq/tools/-/commit/b60f6293ee66e74a6cf744aa4d9d...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Oct 18 16:08:48 2022 +0200
testbot/web: Always use the same color for new failures.
---
testbot/web/JobDetails.pl | 4 ++-- testbot/web/WineTestBot.css | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl index 321d025e..ff0943e0 100644 --- a/testbot/web/JobDetails.pl +++ b/testbot/web/JobDetails.pl @@ -425,7 +425,7 @@ sub GenerateFullLog($$$$$) my $LineNo = $Group->{LineNos}->[$ErrIndex]; if ($LineNo) { - $ErrCategory{$LineNo} = $Group->{IsNew}->[$ErrIndex] ? "fullnew" : "error"; + $ErrCategory{$LineNo} = $Group->{IsNew}->[$ErrIndex] ? "new" : "error"; $ErrFailures{$LineNo} = $Group->{Failures}->{$ErrIndex};
if ($ErrFailures{$LineNo}) @@ -438,7 +438,7 @@ sub GenerateFullLog($$$$$) } } $LogBugs{-2} ||= [$LineNo, "First failure"]; - if ($ErrCategory{$LineNo} eq "fullnew" and !$ErrFailures{$LineNo}) + if ($ErrCategory{$LineNo} eq "new" and !$ErrFailures{$LineNo}) { $LogBugs{-1} ||= [$LineNo, "First untracked new failure"]; $LogBugs{10000000} = [$LineNo, "Last untracked new failure"]; diff --git a/testbot/web/WineTestBot.css b/testbot/web/WineTestBot.css index fd6acac8..c40b8546 100644 --- a/testbot/web/WineTestBot.css +++ b/testbot/web/WineTestBot.css @@ -405,8 +405,7 @@ pre .log-error { color: red; } .log-boterror { color: #cc0052; } .log-diag { color: #e56300; } -.log-new { color: #e56e00; font-weight: bold; } -.log-fullnew { color: red; font-weight: bold; } +.log-new { color: red; font-weight: bold; }
.bug-missing { color: red; font-weight: bold; } .bug-closed { color: red; }