From cccd464e4d8f84dda8d8c65e825232cd52b8b5b4 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 15 Jan 2013 00:59:16 +0000 Subject: 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 --- bootstraptest/runner.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstraptest/runner.rb') 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 -- cgit v1.2.3