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.jack...@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


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to