diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-24 01:52:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-24 01:52:19 +0000 |
commit | 3bf10b0464a1ec76e0e4c0e80cad79625e9dd67e (patch) | |
tree | 566ef1a6959ec65f0def9b2d6eb0510a32a12d8c /test/lib | |
parent | 052690309a206bdbe060f792f65cdc4483ec2d2b (diff) | |
download | ruby-3bf10b0464a1ec76e0e4c0e80cad79625e9dd67e.tar.gz |
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
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/test/unit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index fbd0f18ff1..2d0977eb39 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -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 |