ruby-changes:34857
From: nobu <ko1@a...>
Date: Fri, 25 Jul 2014 15:53:29 +0900 (JST)
Subject: [ruby-changes:34857] nobu:r46940 (trunk): test/unit.rb: temporary measure againt minitest
nobu 2014-07-25 15:53:16 +0900 (Fri, 25 Jul 2014) New Revision: 46940 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46940 Log: test/unit.rb: temporary measure againt minitest * test/lib/test/unit.rb (deal): temporary measure for mixing output from the tests of minitest in parallel test. Modified files: trunk/test/lib/test/unit.rb Index: test/lib/test/unit.rb =================================================================== --- test/lib/test/unit.rb (revision 46939) +++ test/lib/test/unit.rb (revision 46940) @@ -533,7 +533,11 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L533 def deal(io, type, result, rep, shutting_down = false) worker = @workers_hash[io] - case cmd = worker.read + cmd = worker.read + cmd.sub!(/\A\.+/, '') + case cmd + when '' + # just only dots, ignore when /^okay$/ worker.status = :running jobs_status -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/