From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [OSSTEST PATCH] Executive HTML output: Use #888888 (grey) for queued jobs Date: Wed, 30 Sep 2015 16:05:14 +0100 Message-ID: <1443625514-23716-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZhIxG-0002iw-Dm for xen-devel@lists.xenproject.org; Wed, 30 Sep 2015 15:06:02 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Either the flight hasn't started yet, or the job is blocked waiting for other jobs to finish. In any case their state is not very interesting. Most usefully this change visually distinguishes, in the plan summary, jobs which are waiting for prior jobs to finish, from ones which have entered the planning queue. Signed-off-by: Ian Jackson --- Osstest/Executive.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm index aeb8c25..d127bbb 100644 --- a/Osstest/Executive.pm +++ b/Osstest/Executive.pm @@ -221,6 +221,7 @@ our $red= '#ff8888'; our $yellow= '#ffff00'; our $purple= '#ff00ff'; our $blue= '#0000ff'; +our $grey= '#888888'; sub report_run_getinfo ($) { # $f is a joined flight/job row, must contain at least @@ -272,8 +273,10 @@ END }; } elsif ($status eq 'blocked') { return $single->("blocked", $purple), + } elsif ($status eq '(queued)') { + return $single->("($status)", $grey), } else { - return $single->("($f->{status})", $yellow); + return $single->("($status)", $yellow); } } -- 1.7.10.4