aboutsummaryrefslogtreecommitdiffstats
path: root/test/runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/runner.rb')
-rw-r--r--test/runner.rb10
1 files changed, 1 insertions, 9 deletions
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)