mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
41929aa6b6
commit
14cea0d712
1 changed files with 5 additions and 1 deletions
|
@ -533,7 +533,11 @@ module Test
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue