Граф коммитов

735 Коммитов

Автор SHA1 Сообщение Дата
nobu 7d0787116d * gc.c (id2ref): T_VALUES is less than T_BLOCK. [ruby-dev:31911]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-01 06:17:50 +00:00
akr 1a004904d1 add test for [ruby-dev:31913].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-30 06:52:45 +00:00
akr adf5c69f29 * bootstraptest/runner.rb (pretty): don't show beginning empty line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-30 02:52:55 +00:00
akr 11f6502652 add test for [ruby-dev:31911].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-30 02:23:58 +00:00
akr 6108fcdc53 use Marshal.load instead of binary string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-29 04:52:43 +00:00
akr d537ca1f84 * bootstraptest/runner.rb (assert_normal_exit): new method.
* bootstraptest/test_knownbug.rb: add test for Marshal.load.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-29 03:32:57 +00:00
akr 2d6ad7e118 add test for a define_method wrapper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-29 03:11:24 +00:00
ko1 534d057e58 * cont.c: Thread local storage should be fiber local.
* bootstraptest/test_knownbug.rb, test/ruby/test_fiber.rb:
  move a fixed test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28 19:04:45 +00:00
akr 34d9c3d5c7 thread variable test refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28 00:23:40 +00:00
akr cc09ba4699 add test for thread local variable with fiber.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-27 09:51:24 +00:00
akr bb32165fe9 refine a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26 23:24:08 +00:00
akr 654cdfb90b * bootstraptest/runner.rb (assert_finish): new method.
* bootstraptest/test_knownbug.rb: add test for [ruby-dev:31866] using
  assert_finish.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26 22:40:44 +00:00
ko1 55f7f3dd3c * bootstraptest/test_knownbug.rb: remove a fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26 11:12:55 +00:00
ko1 ff2af1ed98 * bootstraptest/test_knownbug.rb: move fixed tests.
* bootstraptest/test_method.rb: ditto.
* test/ruby/test_io.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26 11:01:18 +00:00
matz 2f6f2bfb02 * io.c (io_ungetc): reallocate internal buffer if pushing data
excess capacity.  [ruby-dev:31650]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-25 12:45:03 +00:00
akr 4fb45dd5dc merge tests for [ruby-dev:31816] and [ruby-dev:31817].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22 23:49:08 +00:00
akr 15838ab005 add test for [ruby-dev:31817].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22 23:26:31 +00:00
akr 9b268cdbca add test for [ruby-dev:31818].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22 15:56:01 +00:00
akr f610ff5a39 add test for [ruby-dev:31816].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22 15:29:32 +00:00
ko1 64221159aa * test/ruby/test_io.rb: tests which cause SEGV should not be
added.
* bootstraptest/test_knownbug.rb: add above test to known bug.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-14 08:31:24 +00:00
ko1 34530b1ad3 * bootstraptest/runner.rb: add a stress test (-s).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-14 07:18:23 +00:00
usa ebef450d28 * test_jump.rb, test_knownbug.rb: seems to be fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01 14:56:59 +00:00
usa 6c7466e82a * bootstraptest/test_knownbug.rb: add new test. [ruby-dev:31698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01 14:15:05 +00:00
matz 49be22d8df * eval_jump.ci (rb_f_catch): generate new tag object if no argument is
given.  backported from MatzRuby.  [ruby-dev:31609]

* eval_jump.ci (rb_catch): call #catch without arguments if tag
  string is NULL.

* eval_jump.ci (rb_f_throw): allow throwing non-symbol object.

* eval.c (rb_catch_obj): new function to wait throw with arbitrary
  object. 

* eval.c (rb_throw_obj): new function to throw arbitrary object.

* variable.c (check_autoload_table): prevent multiple calls from
  RSTRING_PTR().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-01 12:56:29 +00:00
nobu 7aaf7dac8d * parse.y (assignable_gen): ignore already erred names.
* parse.y (shadowing_lvar_gen): always make new block local variable
  when shadowing outer local variable.  [ruby-dev:31507]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-30 18:49:00 +00:00
akr 089cfabaf0 add test for [ruby-dev:31609].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-29 06:54:56 +00:00
nobu 2656b0545e * parse.y (aref_args): args may not be a list. [ruby-dev:31592]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-29 03:48:19 +00:00
ko1 343c363d5b * insnhelper.ci (vm_call_method): fix to relaxant safe level check
($SAFE > 2).  [ruby-core:11998]
* bootstraptest/test_method.rb: add tests for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-25 20:56:51 +00:00
akr 6527bcfe30 add test for [ruby-dev:31507].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-25 03:53:30 +00:00
ko1 b285d26a16 * compile.c (compile_massign_opt): fix to skip massign optimization
with global variables.
* bootstraptest/test_massign.rb: add some tests for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-24 15:19:00 +00:00
matz 99ab1fed49 * eval.c (rb_f_send_bang): abandon the name funcall for private
aware method call.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-24 08:15:37 +00:00
ko1 e39eb9dab5 * compile.c, insns.def, parse.y: fix massign order. This change
causes performance problem.  Try vm1_swap benchmark.
  [ruby-dev:31522]
* insns.def, insnhelper.ci: move process body of expandarray insn to
  vm_expandarray().
* bootstraptest/test_knownbug.rb, bootstraptest/test_massign.rb:
  move a solved test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-23 07:10:56 +00:00
akr 29ce3fad82 test for [ruby-dev:31592].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 07:30:07 +00:00
ko1 95f37b477e * bootstraptest/test_knownbug.rb:
fix typo of filename (test_knwonbug.rb).



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 07:01:51 +00:00
ko1 e9a2d02fec * bootstraptest/test_knwonbug.rb: added. This file will contain
test cases which point out known bug.  If bug is fixed, tests
  should move to the suitable place.
* bootstraptest/test_massign.rb: move a test which show known bug
  to test_knownbug.rb.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 05:09:45 +00:00
akr 00e6d5da69 * bootstraptest/runner.rb (in_temporary_working_directory):
don't remove the directory specified by --dir.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 04:21:37 +00:00
akr d4486478d4 add test for [ruby-dev:31522].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 03:43:12 +00:00
ko1 0c031468fe * compile.c (iseq_compile_each): fix to allow self.x=
if x= is private.
* bootstraptest/test_method.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18 05:07:07 +00:00
ko1 f72409043c * bootstraptest/test_exception.rb: add escape character ("\") for
editors.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18 04:14:31 +00:00
akr 4a6335717f add test for [ruby-dev:31472].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18 03:47:03 +00:00
ko1 4d3a58bc69 * compile.c (iseq_set_arguments), insnhelper.ci
(vm_callee_setup_arg, vm_yield_setup_args):
* bootstraptest/test_block.rb: add tests for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-18 02:48:13 +00:00
ko1 b982cff67c * eval.c (rb_call), eval_method.ci (rb_add_method, rb_alias),
insnhelper.ci (vm_call_method): fix to save safelevel for
  method node.
* include/ruby/node.h: ditto.
* bootstraptest/test_method.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-17 12:25:47 +00:00
akr 82a9ca296b * bootstraptest/runner.rb (in_temporary_working_directory): use
Dir.mktmpdir to create and remove temporary directory.
  (Dir.mktmpdir): define if not available.
  [ruby-dev:31431]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-17 05:41:10 +00:00
ko1 fc466622fd * compile.c (iseq_set_arguments), insnhelper.ci
(vm_callee_setup_arg, vm_yield_setup_args): fix
  block parameter problems. [ruby-dev:31437], [ruby-dev:31440]
* bootstraptest/test_block.rb: add a test of [ruby-dev:31440].



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-16 16:29:11 +00:00
ko1 571f22f5fe * compile.c (iseq_compile_each): fix next/redo stack consistency.
[ruby-dev:31373]
* bootstraptest/test_syntax.rb: add tests for above.
* sample/test.rb: fix to use __FILE__ instead of $0 to know basedir.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-16 13:12:24 +00:00
akr 5fe865d0ac add test for [ruby-dev:31437].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-16 10:21:49 +00:00
ko1 fe898043cc * parse.y: fix rules around f_margs. "make test" passes all tests.
* bootstraptest/test_block.rb: add some tests for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-15 04:52:56 +00:00
akr 333454e4dd * bootstraptest/runner.rb (assert_check): don't call newtest.
(assert_equal): call newtest.
  (assert_match): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-14 16:06:44 +00:00
akr b235e8f474 * bootstraptest/runner.rb (assert_check): new method.
(assert_match): new method.
  (assert_equal): use assert_check.
  (pretty): give failure description as an argument.

* bootstraptest/test_exception.rb: use assert_match to describe the
  test for [ruby-dev:31407].  [ruby-dev:31412]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-14 12:48:12 +00:00
ko1 14c3aa52ae * proc.c (Init_Proc), eval.c (Init_eval), eval_intern.h: move
init place of exception_error.
* inits.c: ditto.
* eval.c (Init_eval): set exception_error#throwed_state as TAG_FATAL.
  [ruby-dev:31407]
* bootstraptest/test_exception.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-14 10:53:53 +00:00
ko1 d7a19d0333 * thread.c (rb_thread_raise): check if target thread is
thrown by another thread or not.  [ruby-dev:31371]
* bootstraptest/test_thread.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-12 20:06:59 +00:00
ko1 161b2e264f * compile.c (iseq_peephole_optimize): fix peephole optimization
bug. [ruby-dev:31360]
* bootstraptest/test_syntax.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-12 19:37:16 +00:00
akr d18fd7206d add a test: def m() yield end; p m {|((*))|}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06 08:27:04 +00:00
ko1 1951ef76ce * parse.y (value_expr_gen): fix to cause "void value expression"
when jump expression such as "next" are shown on value_expr().
  [ruby-dev:31119]
* bootstraptest/test_syntax.rb: fix to above change.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06 07:46:57 +00:00
ko1 2829c72cce * bootstraptest/runner.rb (assert_equal): add additional
message parameter.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-06 05:36:14 +00:00
nobu bf27f224f0 * parse.y (stmt, mlhs_node, lhs, arg, var_ref): return dummy
NODE_BEGIN after errors.  [ruby-dev:31100], [ruby-dev:31118]

* parse.y (remove_begin): make empty NODE_BEGIN to NODE_NIL, instead
  of null.  [ruby-dev:31252], [ruby-dev:31263]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-20 01:39:30 +00:00
nobu 327be4636e * bootstraptest/test_syntax.rb: SEGV tests for syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-20 01:21:12 +00:00
nobu 4beb119393 * bootstraptest/runner.rb (get_result_string): check $?.coredump?
first.

* bootstraptest/runner.rb (cleanup_coredump, check_coredump): see
  stackdump file too.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-20 00:50:42 +00:00
akr 853999fb20 add test for [ruby-dev:31153].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-13 03:44:53 +00:00
akr 4bb5091496 add test for [ruby-dev:31160].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-13 03:35:04 +00:00
nobu c0258a9ea6 * bootstraptest/test_flip.rb: new test for flip-flop operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-10 06:57:56 +00:00
akr f880de86ed fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-07 17:33:57 +00:00
ko1 0ec2b20d2f * parse.y: fix node construction (around f_margs).
[ruby-dev:31143]
* bootstraptest/test_block.rb: add a test for above.
* insnhelper.ci: fix indent.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-07 07:16:05 +00:00
ko1 0afe6cb08f * insnhelper.ci (vm_yield_setup_args), vm.c, insns.def:
fix to pass nil as block parameter to yielded block.
  [ruby-dev:31147]
* bootstraptest/test_block.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-07 06:34:40 +00:00
ko1 616f4d3385 * bootstraptest/runner.rb: fix load path.
* common.mk: fix "test" rule to run with "btest".
* rubytest.rb, sample/test.rb: fix to show tests progress.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-06 09:23:53 +00:00
nobu 7990a473eb * bootstraptest/runner.rb: added --quiet option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-06 05:50:42 +00:00
ko1 976bfae03b * insns.def: remove unused code.
* compile.c (compile_massign): fix to invoke to_splat on
  splat rhs (example: *a = *nil). [ruby-dev:31136]
* bootstraptest/test_massign.rb: add tests for above.
* compile.c (iseq_compile_each): disable excess optimization.
  [ruby-dev:31126]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-05 18:16:54 +00:00
ko1 b9171a73c4 * insns.def: fix to invoke nil.to_splat on NODE_ARGSCAT.
[ruby-dev:31138].
* bootstraptest/test_literal.rb: add tests for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-05 17:11:45 +00:00
ko1 04e9a81b8e * compile.c (compile_array, iseq_compile_each): fix about array
generation in void context. [ruby-dev:31102]
* bootstraptest/test_literal.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-03 19:35:09 +00:00
ko1 43bbe2841d * compile.c (compile_array): ignore NODE_ZARRAY.
[ruby-dev:31110]
* bootstraptest/test_method.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-03 19:11:49 +00:00
ko1 1d8ce92a37 * compile.c (iseq_compile_each): support v[&b]= type method call.
[ruby-dev:31094]
* bootstraptest/test_method.rb: add a test for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-03 18:58:42 +00:00
ko1 d82f3e7d5c * compile.c (compile_massign): fix massign compilation
(example: a, *v, (*x) = ...).  [ruby-dev:31107]
* bootstraptest/test_massign.rb: add tests for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-03 18:50:28 +00:00
ko1 c1849cf094 * bootstraptest/runner.rb: fix to untouch $:.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-27 17:14:10 +00:00
ko1 caa535286d * bootstraptest/runner.rb: fix to show file name.
* bootstraptest/test_*.rb: add bootstarp tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-27 16:26:31 +00:00
ko1 30ab3f75f9 * compile.c (compile_massign), insns.def (expandarray): support
postarg with massign (a, *b, c = ...).
* bootstraptest/test_massign.rb: add tests for above.
* compile.h: fix debug macro names.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-26 18:56:15 +00:00
ko1 adc677eb5c * insnhelper.h: change CHECK_STACK_OVERFLOW() to throw exception.
* vm.c (caller_setup_arg), vm_macro.def: remove
  macro_eval_setup_send_arguments and add caller_setup_arg().
* insns.def: ditto.
* bootstraptest/test_method.rb: add splat arg tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-24 08:40:45 +00:00
ko1 68e02f2c2c * vm.c (callee_setup_arg): added. support correct post arg.
* vm_macro.def (macro_eval_invoke_func): fix to use
  callee_setup_arg.
* compile.c (set_arguments): adjust for above changes.
* compile.c (iseq_compile_each): ditto.
* iseq.c (ruby_iseq_disasm): ditto.
* yarvcore.h: add rb_iseq_t#post_arg_start and arg_size.
* bootstraptest/test_method.rb: add post arg tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-24 07:29:21 +00:00
ko1 3aa45744ab * bootstraptest/runner.rb: set default directory to
'/tmp/bootstraptest.tmpwd' and add --dir option.
  fix to output driver and target information.
* common.mk: fix to run btest on BASERUBY and
  add OPTS to pass option ("make btest OPTS=...").



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-24 06:52:59 +00:00
aamine 565bcdcb30 * bootstraptest/runner.rb: show source code in error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-25 02:10:38 +00:00
aamine 9c9b619799 * bootstraptest/runner.rb: add lib/ to load path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-25 01:28:14 +00:00
aamine 793c649f65 * bootstraptest/runner.rb: new option -v,--verbose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 10:28:36 +00:00
aamine 145f0b0f50 * bootstraptest/test_class.rb: new file.
* bootstraptest/test_method.rb: add tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 09:45:25 +00:00
aamine 45c7ead6ae * bootstraptest/runner.rb: fix syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 07:53:14 +00:00
aamine d7c2f391fc * bootstraptest/runner.rb: new option --help.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 07:51:52 +00:00
aamine 18e1d27353 * bootstraptest: new test suite.
* bootstraptest/runner.rb: new file.
* bootstraptest/test_literal.rb: new file.
* bootstraptest/test_method.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24 07:47:53 +00:00