summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-15 00:59:16 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-15 00:59:16 (GMT)
commitcccd464e4d8f84dda8d8c65e825232cd52b8b5b4 (patch)
tree0ce7934927ce5e875e3ac0069b60343b59e330d7 /bootstraptest
parente32ce1868f62070663a13813b132a2bb0cf5f147 (diff)
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
Diffstat (limited to 'bootstraptest')
-rwxr-xr-xbootstraptest/runner.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 16944f0..246e52e 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