summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/runner.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/runner.rb b/test/runner.rb
index 92cba7efd8..969b56890b 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -3,8 +3,7 @@ require 'test/unit/testcase'
require 'optparse'
rcsid = %w$Id$
-Runner = rcsid[1].chomp(",v").freeze
-Version = rcsid[2].scan(/\d+/, &method(:Integer)).freeze
+Version = rcsid[2].scan(/\d+/).collect!(&method(:Integer)).freeze
Release = rcsid[3].freeze
class BulkTestSuite < Test::Unit::TestSuite
@@ -35,7 +34,7 @@ runners_map = {
runner = 'console'
ARGV.options do |opt|
- opt.program_name = Runner
+ opt.program_name = $0
opt.banner << " [tests...]"
opt.on("--runner=mode", runners_map, "UI mode (console, gtk,fox)") do |arg|
runner = arg