Skip to content

Commit

Permalink
test: reduce unnecessary output
Browse files Browse the repository at this point in the history
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): print retrying
  message only if retrying.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Jun 16, 2012
1 parent de7eb55 commit c05042c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/test/unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,10 @@ def _run_parallel suites, type, result
suites.map {|r| r[:file]}.uniq.each {|file| require file}
suites.map! {|r| eval("::"+r[:testcase])}
del_status_line or puts
puts "Retrying..."
puts ""
_run_suites(suites, type)
unless suites.empty?
puts "Retrying..."
_run_suites(suites, type)
end
end
unless rep.empty?
rep.each do |r|
Expand Down

0 comments on commit c05042c

Please sign in to comment.