summaryrefslogtreecommitdiff
path: root/test/runner.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-13 14:57:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-13 14:57:36 +0000
commit4de0bb549b9d28e7f6e0799d3c3a08f615a49f51 (patch)
tree6c1961b725aa2c92aaf0926964c80dbdc02347a2 /test/runner.rb
parent1b8c124c8d19a572d94a6187372da1f3295f11ed (diff)
* 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
Diffstat (limited to 'test/runner.rb')
-rw-r--r--test/runner.rb5
1 files changed, 4 insertions, 1 deletions
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