gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r210127 - /gump/branches/Gump3/pygump/python/gump/plugins/logreporter.py
Date Mon, 11 Jul 2005 13:34:03 GMT
Author: leosimons
Date: Mon Jul 11 06:34:02 2005
New Revision: 210127

URL: http://svn.apache.org/viewcvs?rev=210127&view=rev
Log:
Change output colors and status reporting.

pygump/python/gump/plugins/logreporter.py: introduce a new skipped state, which we give a
nice blue color.

Modified:
    gump/branches/Gump3/pygump/python/gump/plugins/logreporter.py

Modified: gump/branches/Gump3/pygump/python/gump/plugins/logreporter.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/plugins/logreporter.py?rev=210127&r1=210126&r2=210127&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/plugins/logreporter.py (original)
+++ gump/branches/Gump3/pygump/python/gump/plugins/logreporter.py Mon Jul 11 06:34:02 2005
@@ -158,7 +158,7 @@
             self.wr('      Total | %sFailed%s | %sPrereq Failed%s | %sSkipped%s | %sSuccess%s
| %sCyclic Dependency%s' % \
                     (ansicolor.Red, ansicolor.Black,
                      ansicolor.Yellow, ansicolor.Black,
-                     ansicolor.Yellow, ansicolor.Black,
+                     ansicolor.Blue, ansicolor.Black,
                      ansicolor.Green, ansicolor.Black,
                      ansicolor.Bright_Red,
                      ansicolor.Black))
@@ -166,14 +166,14 @@
             self.wr('      %5u | %s%6u%s | %s%13u%s | %s%7u%s | %s%7u%s | %s%17u%s' % (total,
                      ansicolor.Red, failed, ansicolor.Black, 
                      ansicolor.Yellow, prereq_failed, ansicolor.Black,
-                     ansicolor.Yellow, skipped, ansicolor.Black, 
+                     ansicolor.Blue, skipped, ansicolor.Black, 
                      ansicolor.Green, success, ansicolor.Black, 
                      ansicolor.Bright_Red, cycled,
                      ansicolor.Black))
             self.wr('     %5.0f%% |%s%6.1f%%%s |%s%13.1f%%%s |%s%7.1f%%%s |%s%7.1f%%%s |%s%17.1f%%%s'
% (total_percent,
                      ansicolor.Red, failed_percent, ansicolor.Black, 
                      ansicolor.Yellow, prereq_failed_percent, ansicolor.Black,
-                     ansicolor.Yellow, skipped_percent, ansicolor.Black, 
+                     ansicolor.Blue, skipped_percent, ansicolor.Black, 
                      ansicolor.Green, success_percent, ansicolor.Black, 
                      ansicolor.Bright_Red, cycled_percent,
                      ansicolor.Black))
@@ -201,7 +201,7 @@
             if len(causes) > 0:
                 cause = causes[0]
                 if isinstance(cause, Dependency) or isinstance(cause, Project) or isinstance(cause,
Module):
-                    firsterror = '  %s%s: SKIPPED%s' % (ansicolor.Yellow, project, ansicolor.Black+ansicolor.Black)
+                    firsterror = '  %s%s: PREREQ FAILURE%s' % (ansicolor.Yellow, project,
ansicolor.Black+ansicolor.Black)
             self.wr(firsterror)
             
             for cause in causes:



Mime
View raw message