|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 10/12] reporting: Add colours as optional export tag, and provide $blue
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
Osstest/Executive.pm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm
index 90c615a..6edbfee 100644
--- a/Osstest/Executive.pm
+++ b/Osstest/Executive.pm
@@ -52,9 +52,9 @@ BEGIN {
duration_estimator
db_pg_dsn opendb opendb_state
);
- %EXPORT_TAGS = ( );
+ %EXPORT_TAGS = ( colours => [qw($green $red $yellow $purple $blue)] );
- @EXPORT_OK = qw();
+ @EXPORT_OK = @{ $EXPORT_TAGS{colours} };
}
# DATABASE TABLE LOCK HIERARCHY
@@ -195,6 +195,7 @@ our $green= '#008800';
our $red= '#ff8888';
our $yellow= '#ffff00';
our $purple= '#ff00ff';
+our $blue= '#0000ff';
sub report_run_getinfo ($) {
# $f is a joined flight/job row, must contain at least
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |