unit.rb: no need to check all reports
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): no need to check all reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8978ec05dc
commit
0dc6b83935
@ -1,3 +1,8 @@
|
||||
Sat Dec 8 01:27:23 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): no need to
|
||||
check all reports.
|
||||
|
||||
Sat Dec 8 00:10:34 2012 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* vm_eval.c (yield_under, eval_under): do not activate refinements
|
||||
|
@ -603,7 +603,7 @@ module Test
|
||||
|
||||
unless @interrupt || !@options[:retry] || @need_quit
|
||||
@options[:parallel] = false
|
||||
suites, rep = rep.partition {|r| r[:testcase] && r[:file] && !(r[:report].select{|e| !e[2].is_a?(MiniTest::Skip)}).empty?}
|
||||
suites, rep = rep.partition {|r| r[:testcase] && r[:file] && r[:report].any? {|e| !e[2].is_a?(MiniTest::Skip)}}
|
||||
suites.map {|r| r[:file]}.uniq.each {|file| require file}
|
||||
suites.map! {|r| eval("::"+r[:testcase])}
|
||||
del_status_line or puts
|
||||
|
Loading…
x
Reference in New Issue
Block a user