diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test/unit.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb index a69c039cc3..099fcb0c14 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -487,20 +487,13 @@ module Test end end - if @interrupt || @opts[:no_retry] + if @interrupt || @opts[:no_retry] || @need_quit rep.each do |r| report.push(*r[:report]) end @errors += rep.map{|x| x[:result][0] }.inject(:+) @failures += rep.map{|x| x[:result][1] }.inject(:+) @skips += rep.map{|x| x[:result][2] }.inject(:+) - elsif @need_quit - rep.each do |r| - report.push(*r[:report]) - @errors += r[:result][0] - @failures += r[:result][1] - @skips += r[:result][2] - end else puts "" puts "Retrying..." |