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

95 Коммитов

Автор SHA1 Сообщение Дата
nobu cb1d63724c * bootstraptest/test_knownbug.rb: a test for [ruby-dev:32054] moved to test/ruby/test_marshal.rb now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-15 01:11:52 +00:00
akr a0e3752870 add a test for [ruby-dev:32054].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-14 15:36:24 +00:00
akr 44ee78db94 add a test for [ruby-dev:31985].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-09 08:15:37 +00:00
akr 04da3111ef add a test for [ruby-dev:31982].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-09 06:41:16 +00:00
ko1 68bcdf4c7e * cont.c (cont_free): check Fiber or Continuation.
* bootstraptest/test_knownbug.rb: remove a fixed test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-06 07:30:02 +00:00
akr ef1d280a4c * bootstraptest/runner.rb (assert_not_match): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-05 07:43:34 +00:00
ko1 88f570d9ae * proc.c (proc_dup): proc->block.proc should be self.
* bootstraptest/test_knownbug.rb, test_method.rb:
  move a fixed test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-01 22:02:23 +00:00
akr 5838fff334 check exception on Process.setrlimit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-01 07:43:21 +00:00
akr adcd9f7ea1 * bootstraptest/test_method.rb: use assert_normal_exit to test
[ruby-dev:31818].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-01 07:18:26 +00:00
akr e5a15da799 * bootstraptest/runner.rb (assert_normal_exit): use `` instead of
system.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-01 06:30:39 +00:00
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