summaryrefslogtreecommitdiff
path: root/test/runner.rb
diff options
context:
space:
mode:
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