From 2bf7c15a49046e4292519aab38a9350f9ab3a266 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 13 Oct 2003 14:57:36 +0000 Subject: * 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 --- test/runner.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/runner.rb') 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 -- cgit