mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/unit.rb: show idling workers
* test/lib/test/unit.rb (Test::Unit::Parallel#deal): update the job status after a task finished, to show idling workers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
052690309a
commit
3bf10b0464
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Oct 24 10:52:17 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/lib/test/unit.rb (Test::Unit::Parallel#deal): update the
|
||||
job status after a task finished, to show idling workers.
|
||||
|
||||
Mon Oct 24 10:51:09 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* complex.c (Init_Complex): undefine methods inherited from
|
||||
|
|
|
@ -380,6 +380,8 @@ module Test
|
|||
result << r[0..1] unless r[0..1] == [nil,nil]
|
||||
rep << {file: worker.real_file, report: r[2], result: r[3], testcase: r[5]}
|
||||
$:.push(*r[4]).uniq!
|
||||
worker.file = nil
|
||||
jobs_status(worker) if @options[:job_status] == :replace
|
||||
return true
|
||||
when /^p (.+?)$/
|
||||
del_jobs_status
|
||||
|
|
Loading…
Add table
Reference in a new issue