From 4de0bb549b9d28e7f6e0799d3c3a08f615a49f51 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: svn+ssh://ci.ruby-lang.org/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 b2841b012a..b4501bee94 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 v1.2.3