summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-15 00:59:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-15 00:59:16 +0000
commitcccd464e4d8f84dda8d8c65e825232cd52b8b5b4 (patch)
tree0ce7934927ce5e875e3ac0069b60343b59e330d7
parente32ce1868f62070663a13813b132a2bb0cf5f147 (diff)
downloadruby-cccd464e4d8f84dda8d8c65e825232cd52b8b5b4.tar.gz
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
-rwxr-xr-xbootstraptest/runner.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 16944f05a3..246e52e9a5 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -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