mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
runner.rb: colorize
* bootstraptest/runner.rb (exec_test): colorize final messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e32ce1868f
commit
cccd464e4d
1 changed files with 2 additions and 2 deletions
|
@ -184,14 +184,14 @@ def exec_test(pathes)
|
|||
if @count == 0
|
||||
$stderr.puts "No tests, no problem"
|
||||
else
|
||||
$stderr.puts "PASS all #{@count} tests"
|
||||
$stderr.puts "#{@passed}PASS#{@reset} all #{@count} tests"
|
||||
end
|
||||
exit true
|
||||
else
|
||||
@errbuf.each do |msg|
|
||||
$stderr.puts msg
|
||||
end
|
||||
$stderr.puts "FAIL #{@error}/#{@count} tests failed"
|
||||
$stderr.puts "#{@failed}FAIL#{@reset} #{@error}/#{@count} tests failed"
|
||||
exit false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue