summaryrefslogtreecommitdiff
path: root/lib/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit')
-rw-r--r--lib/test/unit/parallel.rb4
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]