diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-22 14:28:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-22 14:28:02 +0000 |
commit | 06f4b438fb72e46410b0ee1337bd2efbb4813262 (patch) | |
tree | e210293fccae207dda274802a31cb59b40a6878f | |
parent | 2afb25bc808fa18253a554194e31cdebb83e08b8 (diff) |
* 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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/test/unit/autorunner.rb | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sun Jan 22 23:27:13 2006 Go Noguchi <[email protected]> + + * 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 <[email protected]> * eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on @@ -18,7 +23,7 @@ Thu Jan 19 22:19:18 2006 Minero Aoki <[email protected]> Wed Jan 18 23:37:06 2006 Tanaka Akira <[email protected]> - * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC + * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC if enable-shared. (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext too. diff --git a/lib/test/unit/autorunner.rb b/lib/test/unit/autorunner.rb index 2831293b7c..d9720daa49 100644 --- a/lib/test/unit/autorunner.rb +++ b/lib/test/unit/autorunner.rb @@ -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 |