diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-13 14:57:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-13 14:57:36 +0000 |
commit | 2bf7c15a49046e4292519aab38a9350f9ab3a266 (patch) | |
tree | 6c1961b725aa2c92aaf0926964c80dbdc02347a2 /test/runner.rb | |
parent | a5c051a4baebf60d7cb0077e0d47ab387765b1d0 (diff) | |
download | ruby-2bf7c15a49046e4292519aab38a9350f9ab3a266.tar.gz ruby-2bf7c15a49046e4292519aab38a9350f9ab3a266.tar.xz ruby-2bf7c15a49046e4292519aab38a9350f9ab3a266.zip |
* eval.c (rb_feature_p): match by classified suffix.
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@4751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/runner.rb')
-rw-r--r-- | test/runner.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/runner.rb b/test/runner.rb index b2841b012..b4501bee9 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -4,4 +4,7 @@ rcsid = %w$Id$ Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze Release = rcsid[3].freeze -Test::Unit::AutoRunner.run(false, File.dirname(__FILE__)) +runner = Test::Unit::AutoRunner.new(true) +runner.to_run.concat(ARGV) +runner.to_run << File.dirname(__FILE__) if runner.to_run.empty? +runner.run |