mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
4de0bb549b
* eval.c (rb_require_safe): require library in the specified safe level. * variable.c (rb_autoload, rb_autoload_load): restore safe level when autoload was called. [ruby-dev:21338] * intern.h: prototypes; rb_require_safe. * test/runner.rb: accept non-option arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10 lines
273 B
Ruby
10 lines
273 B
Ruby
require 'test/unit'
|
|
|
|
rcsid = %w$Id$
|
|
Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze
|
|
Release = rcsid[3].freeze
|
|
|
|
runner = Test::Unit::AutoRunner.new(true)
|
|
runner.to_run.concat(ARGV)
|
|
runner.to_run << File.dirname(__FILE__) if runner.to_run.empty?
|
|
runner.run
|