aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHomer Horwitz2008-11-02 13:13:45 +0000
committerHomer Horwitz2008-11-02 13:13:45 +0000
commit9c8e4d09143d8dfb0827fa251483b4e4fb9bdf9c (patch)
treed8f33e7edc13d9d9fd01f32d6212f4467afba087
parent- Add Util.isUUID (diff)
downloadopensim-SC-9c8e4d09143d8dfb0827fa251483b4e4fb9bdf9c.zip
opensim-SC-9c8e4d09143d8dfb0827fa251483b4e4fb9bdf9c.tar.gz
opensim-SC-9c8e4d09143d8dfb0827fa251483b4e4fb9bdf9c.tar.bz2
opensim-SC-9c8e4d09143d8dfb0827fa251483b4e4fb9bdf9c.tar.xz
Added some more coloring to nant-color (especially for tests)
Diffstat (limited to '')
-rwxr-xr-xnant-color6
1 files changed, 6 insertions, 0 deletions
diff --git a/nant-color b/nant-color
index ca5ea37..c4cebb0 100755
--- a/nant-color
+++ b/nant-color
@@ -46,6 +46,12 @@ def colorize(str)
46 str.sub!(/(Build Succeeded)/i, green('\1')) 46 str.sub!(/(Build Succeeded)/i, green('\1'))
47 str.sub!(/(Compilation succeeded)/, green('\1')) 47 str.sub!(/(Compilation succeeded)/, green('\1'))
48 str.sub!(/(\d+ warning\(s\))/, yellow('\1')) 48 str.sub!(/(\d+ warning\(s\))/, yellow('\1'))
49 str.sub!(/(Build Failed)/i, red('\1'))
50
51 str.sub!(/(Tests run: \d+, Failures: 0, Not run: 0,.*)/, green('\1'))
52 str.sub!(/(Tests run: \d+, Failures: 0, Not run: [1-9].*)/, yellow('\1'))
53 str.sub!(/(Tests run: \d+, Failures: [1-9].*)/, red('\1'))
54 str.sub!(/(Test Case Failures:)/, red('\1'))
49 return str 55 return str
50end 56end
51 57