From 9c560af1b74ef031ab990ba82362192981407c42 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 11 Feb 2011 12:41:58 +0000 Subject: * bin/testrb, test/runner.rb, lib/test/unit.rb: improve backward compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/runner.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'test/runner.rb') diff --git a/test/runner.rb b/test/runner.rb index e19ed82562..441bb0782e 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -7,12 +7,4 @@ srcdir = File.dirname(src_testdir) require_relative 'profile_test_all' if ENV['RUBY_TEST_ALL_PROFILE'] == 'true' -tests = Test::Unit.new {|files, options| - options[:base_directory] = src_testdir - if files.empty? - [src_testdir] - else - files - end -} -exit tests.run(ARGV) || true +exit Test::Unit::AutoRunner.run(true, src_testdir) -- cgit v1.2.3