diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-25 06:53:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-25 06:53:16 +0000 |
commit | 14cea0d712d8f0572729a148d809962da02df4a0 (patch) | |
tree | 2d518efea6bcd306c7e4d12f5030ee9437e8d836 /test | |
parent | 41929aa6b60dd975bbb162a7d0a3cde11e2de6a8 (diff) | |
download | ruby-14cea0d712d8f0572729a148d809962da02df4a0.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/test/unit.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index aa0a0a52b3..2b52eefa49 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -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 |