From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ian Campbell <ian.campbell@citrix.com>
Subject: [OSSTEST PATCH] Executive HTML output: Use #888888 (grey) for queued jobs
Date: Wed, 30 Sep 2015 16:05:14 +0100 [thread overview]
Message-ID: <1443625514-23716-1-git-send-email-ian.jackson@eu.citrix.com> (raw)
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 <Ian.Jackson@eu.citrix.com>
---
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
next reply other threads:[~2015-09-30 15:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-30 15:05 Ian Jackson [this message]
2015-09-30 15:11 ` [OSSTEST PATCH] Executive HTML output: Use #888888 (grey) for queued jobs Ian Jackson
2015-09-30 15:28 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1443625514-23716-1-git-send-email-ian.jackson@eu.citrix.com \
--to=ian.jackson@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).