diff --git a/ChangeLog b/ChangeLog index 99d75dcef1..56c8962988 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 @@ -18,7 +23,7 @@ Thu Jan 19 22:19:18 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. 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