diff options
Diffstat (limited to 'lib/test/unit.rb')
-rw-r--r-- | lib/test/unit.rb | 12 |
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 |