aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-24 01:52:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-24 01:52:19 +0000
commit218a536c0c3c2263197a23739b8b37b12693fa21 (patch)
tree566ef1a6959ec65f0def9b2d6eb0510a32a12d8c /test/lib/test
parentc4e8455ff167cfb80d8cbf3cfb7787938b6d4077 (diff)
downloadruby-218a536c0c3c2263197a23739b8b37b12693fa21.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/test')
-rw-r--r--test/lib/test/unit.rb2
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