summaryrefslogtreecommitdiff
path: root/lib/test/unit.rb
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-01 05:33:32 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-01 05:33:32 +0000
commitd264d3cc38696d8b66d7261ae75a96fb8bdf2729 (patch)
treec4db29fe9f04a410c985174f39bcb494adf9204d /lib/test/unit.rb
parented22b0ecee668cbd58d469c05b10e74cd6f604ab (diff)
Imported minitest 2.0.0 r5952. Fixed test/unit.rb to work with changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit.rb')
-rw-r--r--lib/test/unit.rb12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 87c9d1b022..c2bf991bb5 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -62,6 +62,7 @@ module Test
opts.on '-v', '--verbose', "Verbose. Show progress processing files." do
options[:verbose] = true
+ self.verbose = options[:verbose]
end
opts.on '-n', '--name PATTERN', "Filter test names on pattern." do |a|
@@ -167,17 +168,6 @@ module Test
abort if @interrupt
result
end
-
- def run_test_suites(*args)
- old_sync = @@out.sync if @@out.respond_to?(:sync=)
- @interrupt = false
- super
- rescue Interrupt
- @interrupt = true
- [@test_count, @assertion_count]
- ensure
- @@out.sync = old_sync if @@out.respond_to?(:sync=)
- end
end
end
end