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 | 26dd7b1d685e35849669fd3916a29563747ce99c (patch) | |
tree | 417011631f5afbc7505892c5f567dd6ff16bae3f | |
parent | f41377f226cb63e6bfda088efaeef89bb43b4308 (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/branches/ruby_1_8@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | lib/test/unit/autorunner.rb | 2 |
2 files changed, 10 insertions, 5 deletions
@@ -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 @@ -16,7 +21,7 @@ Sat Jan 21 00:36:47 2006 Tanaka Akira <akr@m17n.org> * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): use only on SPARC and IA64 before gcc 4.0.3. [ruby-dev:28247] - + Thu Jan 19 22:21:23 2006 Minero Aoki <aamine@loveruby.net> * lib/fileutils.rb (mv): should remove file after copying. @@ -24,7 +29,7 @@ Thu Jan 19 22:21:23 2006 Minero Aoki <aamine@loveruby.net> Wed Jan 18 23:37:06 2006 Tanaka Akira <akr@m17n.org> - * 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. @@ -74,8 +79,8 @@ Fri Jan 13 19:14:56 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> Thu Jan 12 11:53:08 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widget - which is constructed with TkComposite module. - [new feature] support 'command' option which is called just before + which is constructed with TkComposite module. + [new feature] support 'command' option which is called just before popping up the balloon help. Tue Jan 11 15:00:00 2006 Ville Mattila <mulperi@iki.fi> 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 |