diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 07:51:52 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 07:51:52 +0000 |
commit | 7261d7c16c07ab73b07f7dc65762d961204b4aba (patch) | |
tree | 24d039d550733a94e906d35f363a11fc2d720e33 | |
parent | 5568b925b9ae640f897b4cd1037fb1cb785bd319 (diff) | |
download | ruby-7261d7c16c07ab73b07f7dc65762d961204b4aba.tar.gz ruby-7261d7c16c07ab73b07f7dc65762d961204b4aba.tar.xz ruby-7261d7c16c07ab73b07f7dc65762d961204b4aba.zip |
* bootstraptest/runner.rb: new option --help.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bootstraptest/runner.rb | 7 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sat Feb 24 16:51:09 2007 Minero Aoki <aamine@loveruby.net> + + * bootstraptest/runner.rb: new option --help. + Sat Feb 24 16:47:33 2007 Minero Aoki <aamine@loveruby.net> * bootstraptest: new test suite. diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index d48d14e6e..d5934d0fe 100644 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -20,6 +20,13 @@ def main tests = Dir.glob("#{File.dirname($0)}/test_{#{$1}}*.rb") puts tests.map {|path| File.basename(path) }.inspect true + when /\A(-h|--h(elp)?\z/ + puts(<<-End) +Usage: #{File.basename($0, '.*')} --ruby=PATH [--sets=NAME,NAME,...] + --sets=NAME,NAME,... Name of test sets. + --help Print this message and quit. +End + exit 0 else false end |