From 26dd7b1d685e35849669fd3916a29563747ce99c Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Jan 2006 14:28:02 +0000 Subject: [PATCH] * 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 --- ChangeLog | 13 +++++++++---- lib/test/unit/autorunner.rb | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 354f6b0242..1b1f5b56b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 22 23:27:13 2006 Go Noguchi + + * 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 * eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on @@ -16,7 +21,7 @@ Sat Jan 21 00:36:47 2006 Tanaka Akira * 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 * lib/fileutils.rb (mv): should remove file after copying. @@ -24,7 +29,7 @@ Thu Jan 19 22:21:23 2006 Minero Aoki Wed Jan 18 23:37:06 2006 Tanaka Akira - * 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 Thu Jan 12 11:53:08 2006 Hidetoshi NAGAI * 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 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