Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 272 Bytes
lambda { |stdout,stderr,status|
output = stdout + stderr
return :red if /^\s*Test Count: \d+, Passed: \d+, Failed: [^0]\d*, Warnings: \d+, Inconclusive: \d+, Skipped: \d+/.match(output)
return :green if /^\s*Overall result: Passed/.match(output)
return :amber
}