ruby-changes:44411
From: nobu <ko1@a...>
Date: Mon, 24 Oct 2016 10:52:23 +0900 (JST)
Subject: [ruby-changes:44411] nobu:r56484 (trunk): test/unit.rb: show idling workers
nobu 2016-10-24 10:52:19 +0900 (Mon, 24 Oct 2016) New Revision: 56484 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56484 Log: 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. Modified files: trunk/ChangeLog trunk/test/lib/test/unit.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 56483) +++ ChangeLog (revision 56484) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Oct 24 10:52:17 2016 Nobuyoshi Nakada <nobu@r...> + + * 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@r...> * complex.c (Init_Complex): undefine methods inherited from Index: test/lib/test/unit.rb =================================================================== --- test/lib/test/unit.rb (revision 56483) +++ test/lib/test/unit.rb (revision 56484) @@ -380,6 +380,8 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L380 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/