* 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:
parent
2afb25bc80
commit
06f4b438fb
@ -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>
|
Sun Jan 22 22:09:52 2006 Tanaka Akira <akr@m17n.org>
|
||||||
|
|
||||||
* eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on
|
* eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on
|
||||||
|
@ -85,7 +85,7 @@ module Test
|
|||||||
|
|
||||||
def process_args(args = ARGV)
|
def process_args(args = ARGV)
|
||||||
begin
|
begin
|
||||||
@to_run.concat options.parse!(args)
|
options.order!(args) {|arg| @to_run << arg}
|
||||||
rescue OptionParser::ParseError => e
|
rescue OptionParser::ParseError => e
|
||||||
puts e
|
puts e
|
||||||
puts options
|
puts options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user