summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/runner.rb18
1 files changed, 2 insertions, 16 deletions
diff --git a/test/runner.rb b/test/runner.rb
index aa78c4eadb..c8a06e1dd9 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -1,19 +1,5 @@
require 'rbconfig'
exit if CROSS_COMPILING
-require 'test/unit'
-
-rcsid = %w$Id$
-Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze
-Release = rcsid[3].freeze
-
-# this allows minitest and test/unit to run side by side. test/unit
-# tests with fork/signal were triggering minitest multiple times.
-require 'minitest/unit'
-MiniTest::Unit.disable_autorun
-
-args = ARGV.dup
-result = Test::Unit::AutoRunner.run(true, File.dirname($0))
-result &&= MiniTest::Unit.new.run(args)
-
-exit result
+require 'test/unit'
+Test::Unit.setup_argv