1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/test/unit/autorunner.rb (process_args): ignore arguments after

'--' so that test scripts can handle them.  fixed: [ruby-dev:28258]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2006-01-22 14:28:02 +00:00
parent 2afb25bc80
commit 06f4b438fb
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sun Jan 22 23:27:13 2006 Go Noguchi <gonoguti@yahoo.co.jp>
* lib/test/unit/autorunner.rb (process_args): ignore arguments after
'--' so that test scripts can handle them. fixed: [ruby-dev:28258]
Sun Jan 22 22:09:52 2006 Tanaka Akira <akr@m17n.org>
* eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on

View file

@ -85,7 +85,7 @@ module Test
def process_args(args = ARGV)
begin
@to_run.concat options.parse!(args)
options.order!(args) {|arg| @to_run << arg}
rescue OptionParser::ParseError => e
puts e
puts options