From d264d3cc38696d8b66d7261ae75a96fb8bdf2729 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 1 Dec 2010 05:33:32 +0000 Subject: 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 --- lib/test/unit.rb | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'lib/test/unit.rb') 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 -- cgit v1.2.3