diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-16 13:55:09 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-16 13:55:09 +0000 |
| commit | d51d07a81326b007a509eb5fd9e8529daba645c5 (patch) | |
| tree | 830e7a0e1821edf0488e74e22ae4e0a0e520c74d /test/runner.rb | |
| parent | 2bd716631b3b5c02da7afde44b05ff22d348bad5 (diff) | |
| download | ruby-d51d07a81326b007a509eb5fd9e8529daba645c5.tar.gz ruby-d51d07a81326b007a509eb5fd9e8529daba645c5.tar.xz ruby-d51d07a81326b007a509eb5fd9e8529daba645c5.zip | |
* lib/test/unit: removed test/unit.
* lib/test/unit.rb: new compatibility layer using minitest.
* bin/testrb: use above.
* test/runner.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/runner.rb')
| -rw-r--r-- | test/runner.rb | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/test/runner.rb b/test/runner.rb index aa78c4ead..c8a06e1dd 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 |
