diff options
author | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-23 14:08:25 +0000 |
---|---|---|
committer | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-23 14:08:25 +0000 |
commit | 48fa6ed529d531419b54c56993730b0e2ded928c (patch) | |
tree | aa3b600d0d3032b58baa3d95f9c58b29bdf227ab /lib/test/unit | |
parent | 92729ad4736ad34bdcf6eb98211010fa6a68dd2d (diff) | |
download | ruby-48fa6ed529d531419b54c56993730b0e2ded928c.tar.gz |
* test/testunit/test_parallel.rb, test/testunit/parallel/*:
Test for r30939.
* lib/test/unit.rb: For test.
* lib/test/parallel.rb: For test.
* lib/test/unit/testcase.rb: For test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit')
-rw-r--r-- | lib/test/unit/parallel.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test/unit/parallel.rb b/lib/test/unit/parallel.rb index acfdc84bb4..ae1bf2961c 100644 --- a/lib/test/unit/parallel.rb +++ b/lib/test/unit/parallel.rb @@ -10,6 +10,7 @@ module Test alias orig_run_suite _run_suite undef _run_suite undef _run_suites + undef run def _run_suites suites, type suites.map do |suite| @@ -42,13 +43,12 @@ module Test MiniTest::Unit.output = orig_stdout o.close - i.close - begin th.join rescue IOError raise unless ["stream closed","closed stream"].include? $!.message end + i.close result << (report - r) result << [@errors-e,@failures-f,@skips-s] |