akr
390adf6112
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-18 08:16:10 +00:00
akr
c2459f35ac
add a test for [ruby-dev:33807]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-16 05:48:42 +00:00
akr
2df0301c72
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-16 04:21:46 +00:00
akr
0040ed4020
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-15 18:16:14 +00:00
akr
433fbebfbc
* io.c (io_reopen): check STDIN, STDOUT and STDERR mode according to
...
stdio streams.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-14 12:01:50 +00:00
akr
a5c05a9ace
add a test for [ruby-dev:33072].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-14 08:23:56 +00:00
naruse
a8739621cf
* lib/uri/generic.rb: revert r15442. 2nd argument of String#sub parse
...
escapes. [ruby-dev:33726]
* bootstraptest/test_method.rb enc/depend instruby.rb lib/mkmf.rb
mkconfig.rb: revert r15443. ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-13 07:26:52 +00:00
naruse
a10ded3ba0
* bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend,
...
instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb,
mkconfig.rb, sample/test.rb, template/vm.inc.tmpl,
test/ruby/test_stringchar.rb: fixes arround String#gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 06:28:23 +00:00
akr
82b088aa0c
* io.c (io_reopen): don't change access mode for stdin, stdout and
...
stderr. [ruby-core:15360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-07 07:40:25 +00:00
usa
aa7c6a538e
* bootstraptest/test_marshal.rb: commit miss. reverted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-31 08:34:34 +00:00
usa
1e3aa62254
* marshal.c (r_object0): no need to call r_entry for immediate values.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-31 08:31:20 +00:00
matz
ae8095e44d
test updated for empty symbols
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-31 00:38:38 +00:00
naruse
7b83d04514
* bootstraptest/runner.rb: fix -I../../hoge case.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-30 02:59:59 +00:00
nobu
526ab1f0d1
* parse.y (value_expr_gen): reverted r12880. [ruby-dev:33388]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-27 13:55:29 +00:00
ko1
51ea2cf4e4
* compile.c (iseq_compile_each): validate argument expr of "next"
...
statement.
* bootstraptest/test_syntax.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-26 08:44:43 +00:00
ko1
13b5b22ae6
* compile.c, compile.h: fix stack pointer issues.
...
calculate correct stack depth at compile time.
* insns.def (emptstack): remove it and add a new insn "adjuststack".
* bootstraptest/test_knownbug.rb: move/remove fixed test.
* bootstraptest/test_syntax.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-25 18:02:01 +00:00
akr
9b43eaf115
The [ruby-dev:32746] problem is re-introduced.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-24 07:16:41 +00:00
mame
ea5aa33504
* insns.def (expandarray): fix stack inc.
...
* bootstraptest/test_knownbug.rb, test_massign.rb: move a fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-23 17:17:23 +00:00
usa
3b6f862b3a
* bootstraptest/test_{knownbug,thread}.rb: support fork-less platform.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-23 02:23:21 +00:00
matz
65a8185eb2
* configure.in (MINIRUBY): remove -I$(EXTOUT)/$(arch) from
...
MINIRUBY since miniruby might not be able to load DLL.
* test/ruby/test_m17n.rb: move tests from bootstrap test.
* encoding.c (enc_find): should check name if ASCII compatible.
* string.c (rb_str_end_with): should check character boundary.
* encoding.c (rb_enc_compatible): encoding must be ASCII
compatible before checking ENC_CODERANGE_7BIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-22 03:59:53 +00:00
nobu
3882b07c3a
* thread.c (thread_create_core): set thread group before creating
...
thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-18 14:49:43 +00:00
nobu
c8272db179
* bootstraptest/runner.rb (assert_valid_syntax): added.
...
* bootstraptest/test_knownbug.rb: added test for [ruby-list:44479]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-17 17:02:30 +00:00
nobu
23980c8ba0
* bootstraptest/test_attr.rb: moved test for [ruby-core:14641].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-17 16:59:23 +00:00
nobu
ad82a53e5d
* bootstraptest/test_attr.rb: added for [ruby-core:15120].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-17 16:53:48 +00:00
matz
7d8c42297e
* configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
...
* bootstraptest/runner.rb (main): expand -I directory path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 14:32:46 +00:00
ko1
5360e77db8
* thread.c: clear thread structure.
...
(TODO: survey that child process should clear mutex or not).
* bootstraptest/test_knownbug.rb, test_thread.rb: move a fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 10:02:51 +00:00
akr
4b8de30bc5
update last test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 09:59:58 +00:00
ko1
0c801d657a
* bootstraptest/runner.rb: add "flunk" method.
...
* bootstraptest/test_knownbug.rb: fix to use flunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 09:45:46 +00:00
akr
7d7125e7b4
fix a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 09:35:18 +00:00
akr
b866ecbc42
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-12 16:42:43 +00:00
nobu
a615bbf40b
* bootstraptest/test_proc.rb: fixed wrong expected result. pointed
...
out by Kornelius "murphy" Kalnbach <murphy AT rubychan.de> in
[ruby-core:15022].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-12 02:29:47 +00:00
nobu
857b3018dd
* proc.c (proc_mark): needs to mark the receiver too. a patch from
...
Chris Heath <chris AT heathens.co.nz> in [ruby-core:14983].
[ruby-core:14885]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 11:20:18 +00:00
matz
f2707db2dc
* string.c (Init_String): sym_match arity spec was wrong. a patch
...
from Hiroyuki Iwatsuki <don at na.rim.or.jp> in [ruby-dev:32957].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 10:12:45 +00:00
matz
4d6c034752
add test_knownbug [ruby-core:14813]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 10:01:34 +00:00
matz
48db39e355
add test_knowbug [ruby-core:14813]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 07:07:44 +00:00
matz
fa21f1b751
add test_knonbug
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 01:56:16 +00:00
akr
7967e3e2f4
add a comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-05 15:40:17 +00:00
ryan
37d1059f49
Added known bug from ruby-core:14537
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03 11:26:10 +00:00
ko1
1421b85ea2
* bootstraptest/test_eval.rb, test_knownbug.rb: move a fixed test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03 10:48:35 +00:00
matz
5e22f59982
* bootstraptest/test_knownbug.rb: more portable way
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31 16:34:30 +00:00
matz
e460d4f757
* bootstraptest/test_knownbug.rb: shut up syntax error
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31 16:32:24 +00:00
nobu
de3f2adb53
* string.c (rb_str_resize): embeds if ptr is null. [ruby-dev:32819]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-31 14:27:20 +00:00
usa
735f064df3
* bootstraptest/test_knownbug.rb: support DOSISH.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 10:23:53 +00:00
akr
439e388089
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29 04:27:39 +00:00
akr
7a0d1903d3
remove p.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-26 06:28:42 +00:00
ko1
96b9744b3d
* bootstraptest/pending.rb: add pending issue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 13:15:53 +00:00
ko1
633df8de16
* compile.c (iseq_compile_each): fix stack consistency error
...
(break is compiled to throw instead of jump insn).
these problems are reported by Yusuke ENDOH <mame AT tsg.ne.jp>
* bootstraptest/test_knownbug.rb, test_syntax.rb: move fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 12:37:16 +00:00
matz
3878b30881
* io.c (appendline): move RS comparison to rb_io_getline_1().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 09:52:52 +00:00
akr
305c42739f
add tests reported by Yusuke ENDOH.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 09:39:10 +00:00
akr
ed7b25a854
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 07:27:15 +00:00
ko1
5f0b8afb97
* vm_core.h, thread.c, cont.c: add RUBY_VM_SET_INTERRUPT(),
...
RUBY_VM_SET_TIMER_INTERRUPT(), RUBY_VM_INTERRUPTED().
* thread.c, thread_pthread.c, thread_win32.c: fix to ignore time slice
event until sleep.
* bootstraptest/test_thread.rb: add a test for time limited join test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 04:16:06 +00:00
ko1
1af43d329f
* compile.c (iseq_compile_each): fix stack consistency error.
...
a patch from Yusuke ENDOH <mame AT tsg.ne.jp> [ruby-dev:32720]
* bootstraptest/test_syntax.rb: add 2 tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 02:24:12 +00:00
ko1
b40dbc304e
* vm.c: check frame is FINAL when creating env.
...
[ruby-core:14395]
* bootstraptest/test_block.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 02:14:36 +00:00
ko1
7ad94af99b
* bootstraptest/test_knownbug.rb, test_literal.rb: move fixed test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 21:26:02 +00:00
akr
edb8eee236
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 19:03:09 +00:00
ko1
e885517639
* compile.c (iseq_compile_each): fix stack consistency bug.
...
a patch from Yusuke ENDOH <mame AT tsg.ne.jp>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 18:54:52 +00:00
ko1
105e00bdd7
* compile.c (iseq_compile_each): add a "pop" insn after break
...
to fix stack consistency error. [ruby-core:14385]
* bootstraptest/test_syntax.rb: add tests for above.
* bootstraptest/test_knownbug.rb: remove fixed bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 17:41:29 +00:00
akr
71787f8ec2
add a test for [ruby-core:14385] reported by Frederick Cheung.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 15:19:44 +00:00
nobu
68a66351a7
* load.c (rb_feature_p): returns loading path name too.
...
* load.c (search_required): returns path too if feature is being
loaded. [ruby-dev:32048] [TODO: refactoring]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 07:53:50 +00:00
akr
c534670da1
move the test for [ruby-core:14288].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 15:06:14 +00:00
akr
0ef8ed93bc
add a test for [ruby-dev:32048].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 06:57:52 +00:00
nobu
e3897c538c
* string.c (sym_call): use exact argument array interface.
...
[ruby-core:14279]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 02:26:45 +00:00
akr
a072f94fbe
add a test for [ruby-core:14288].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 01:36:54 +00:00
akr
a84103ce60
add a test for [ruby-core:14279].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 00:15:23 +00:00
ko1
020fd204f8
* bootstraptest/test_objectspace.rb: fix condition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 10:54:02 +00:00
ko1
e6f67598e9
* bootstraptest/test_objectspace.rb: skip flozen string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:18:52 +00:00
ko1
5a1cf1c5cb
* bootstraptest/test_fork.rb: skip if fork is not unsupported.
...
* bootstraptest/test_io.rb: skip if require failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 21:35:08 +00:00
ko1
91c6c2c170
* io.c: write() should be in blocking region.
...
* bootstraptest/test_io.rb, test_knownbug.rb: move a fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 09:43:49 +00:00
ko1
f12cc82e0f
* bootstraptest/pending.rb: renamed from featurebug.rb.
...
This file contains bugs which is known but will not be
fixed in days.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 08:38:16 +00:00
ko1
f40a94a9cd
* bootstraptest/featurebug.rb: added.
...
* bootstraptest/test_knownbug.rb: move a feature bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 08:29:33 +00:00
ko1
6cbc9ac208
* thread.c (rb_thread_atfork): fix to mark thread object.
...
[ruby-dev:32404]
* bootstraptest/test_knownbug.rb, test_fork.rb: move a fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 08:27:14 +00:00
akr
328e6a02bf
add test for [ruby-dev:32566].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 06:38:12 +00:00
akr
df08853630
illegal -> invalid.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 03:25:02 +00:00
ko1
314bef7ef1
* insnhelper.ci, vm.c, vm_core.h: change interface of
...
vm_invoke_block() to specify block ptr. [ruby-talk:266422]
* cont.c, eval_jump.ci, insns.def, proc.c, signal.c, thread.c:
apply above change.
* bootstraptest/test_knownbug.rb: move fixed bug.
* bootstraptest/test_block.rb: ditto. and add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20 07:07:35 +00:00
ko1
e0dcf23cd5
* insnhelper.ci (vm_expandarray): fix sp increase place.
...
a patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32581].
* bootstraptest/test_massign.rb: add a test for above.
* bootstraptest/test_syntax.rb: fix last committed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20 01:03:15 +00:00
ko1
bc162c69ea
* bootstraptest/test_syntax.rb: add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20 00:50:13 +00:00
ko1
5485df3e10
* compile.c (iseq_compile_each): add pop after throw as return.
...
* bootstraptest/test_knownbug.rb, test_syntax.rb: move resolved test.
* vm_core.h, iseq.c, compile.h: add debug output code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 21:39:08 +00:00
nobu
a927483326
* compile.c (iseq_compile_each): should handle upper level eval iseq
...
from break/next, and COMPILE_ERROR() breaks only one block.
[ruby-dev:31372]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 16:10:54 +00:00
nobu
64a912155d
* bootstraptest/test_m17n.rb: set properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 12:03:46 +00:00
ko1
860b40fd63
* compile.c (iseq_compile_each): remove "retry" in block.
...
("iter{retry}" cause syntax error)
Currently, "begin; ...; rescue; iter{retry}; end" cause
syntax error too.
* bootstraptest/test_jump.rb: ditto.
* lib/drb/invokemethod.rb: ditto.
* sample/drb/darrayc.rb: ditto.
* sample/test.rb: ditto.
* test/drb/drbtest.rb: ditto.
* test/ruby/test_iterator.rb: ditto.
* sample/test.rb: add a 'test' directory on the SYSTEM test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 08:46:49 +00:00
ko1
def4a99af2
* bootstraptest/test_knownbug.rb, test_block.rb:
...
move fixed bug.
* bootstraptest/test_m17n.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 08:14:21 +00:00
ko1
9bd91ea3b0
* eval.c (errinfo_place): skip if error is Fixnum. [ruby-dev:32608]
...
* bootstraptest/test_exception.rb, test_known_bug.rb: move fixed bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 08:02:03 +00:00
nobu
63fabd365a
* compile.c (iseq_compile_each): fix for segfault. [ruby-dev:31372]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18 14:53:55 +00:00
ko1
cd84310864
* compile.c, insnhelper.ci, insns.def, object.c, vm.c, vm.h:
...
optimize !@, != method invocation.
* id.c, id.h: ditto.
* bootstraptest/test_syntax.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18 12:07:51 +00:00
ko1
1f75a4e700
* bootstraptest/test_knownbug.rb: add issues.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18 11:58:28 +00:00
akr
0c19240983
more tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18 05:02:24 +00:00
akr
50a0a86471
more tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17 14:59:11 +00:00
matz
ea1b9d58b9
* string.c (rb_str_index): check if substring is broken.
...
* string.c (rb_str_rindex): ditto.
* string.c (rb_str_succ): should carry over.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17 09:08:27 +00:00
akr
22456e709d
more tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-16 02:17:42 +00:00
akr
bcf4a9947d
add test for [ruby-dev:32608].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-15 16:29:26 +00:00
akr
e34b2c31df
use Enumerator for reproduce [ruby-dev:32604].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-15 02:39:34 +00:00
akr
b4268bf067
add test for [ruby-dev:32604].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-14 21:27:16 +00:00
matz
7987f38467
* string.c (rb_str_succ): should not enter infinite loop for
...
non-ASCII, non-alphanumeric character at the bottom.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-13 09:20:13 +00:00
matz
66bae8ad6d
* string.c (str_gsub): should copy encoding to the result.
...
* sprintf.c (rb_str_format): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-13 09:05:49 +00:00
akr
b21aa43b4c
add test for [ruby-dev:32567].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-13 02:37:27 +00:00
akr
32bfc874fa
"// =~ :a" abort.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-10 09:49:37 +00:00
matz
5ee029f62c
* eval.c (rb_f_public_send): rename invoke_method to public_send.
...
it now invokes public method only no matter how it's called.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-10 05:34:50 +00:00
matz
6e12ae857e
* parse.y (parser_yylex): wrong token was generated. [ruby-dev:32498]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 23:16:54 +00:00
nobu
45fa4a4b63
* string.c (tr_find): returns true if no characters to be removed is
...
specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 03:12:25 +00:00
nobu
54c146d2c3
* string.c (tr_trans): get rid of segfaults when has mulitbytes but
...
source sets have no mulitbytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 02:29:24 +00:00
akr
221e6de720
fix added test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 01:25:32 +00:00
akr
be98b422b0
more tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 00:56:10 +00:00
akr
56f8092459
more tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09 00:31:02 +00:00
akr
4db4d80357
fix previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-08 18:47:42 +00:00
akr
cbff149e47
add a test for casecmp with sjis string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-08 18:45:20 +00:00
akr
6c6cf008cd
add a test for concatinating euc-jp and ascii-8bit string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-08 17:41:47 +00:00
akr
a42bb2a456
add test for [ruby-dev:32452].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-07 01:42:16 +00:00
akr
92af9c0d54
reproduce segv.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-06 10:09:44 +00:00
akr
b791feb694
use \xf0 instead of \xfd for valid first byte of a UTF-8 character.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-06 10:06:41 +00:00
nobu
de4ec68991
* bootstraptest/test_knownbug.rb: new test for block and
...
define_method.
* bootstraptest/test_syntax.rb: moved [ruby-dev:32429] from
test_knownbug.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-06 02:04:19 +00:00
nobu
95cf86dd26
* bootstraptest/test_knownbug.rb: test for [ruby-talk:266422].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-06 00:27:35 +00:00
akr
ac9c68fbe1
add a test for [ruby-dev:32448].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-04 06:31:42 +00:00
akr
0893957bc6
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-02 02:04:34 +00:00
akr
850cd3a536
eval("\"\xfd".force_encoding("utf-8")) generates garbage in error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-02 01:43:29 +00:00
akr
5a930580c9
add a test for [ruby-dev:32404].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01 17:29:43 +00:00
ko1
0d4761fb1a
* bootstraptest/test_knownbug.rb: move fixed bugs.
...
* test/ruby/test_sprintf.rb: ditto.
* test/yaml/test_yaml.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01 05:43:06 +00:00
matz
2bbffcd6a4
* insns.def (concatarray, splatarray): use to_a instead of
...
to_splat.
* insnhelper.ci (caller_setup_args): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01 05:20:06 +00:00
ko1
6fafbfd63e
* insnhelper.ci (vm_yield_with_cfunc): fix to passing argc on third
...
parameter of IFUNC. [ruby-dev:32329]
* enumerator.c: fix to pass exact number of argument.
* eval.c (rb_yield_values2): added.
* include/ruby/ruby.h: ditto.
* bootstraptest/test_knownbug.rb: move a fixed test.
* bootstraptest/test_block.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-01 04:30:19 +00:00
matz
e46a617759
* ext/syck/rubyext.c (rb_syck_mktime): avoid segmentation fault.
...
[ruby-core:13735]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-30 10:42:40 +00:00
akr
f63918441e
longer timeout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27 22:53:28 +00:00
ko1
0cdd3bced5
* compile.c (iseq_compile_each): "when *[],1" dumps core.
...
a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32350]
* bootstraptest/test_syntax.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27 06:54:58 +00:00
ko1
1bed0ccca8
* compile.c (iseq_compile_each): "a[*b] += 1" dumps core.
...
a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32354]
* bootstraptest/test_syntax.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27 06:45:01 +00:00
ko1
b0986a8f82
* compile.c, insns.def: change return value of "defined?"
...
for $&, $1, ... . If such variables are defined,
return "global-variable".
* test/ruby/test_defined.rb: add tests.
* bootstraptest/test_syntax.rb: fix a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27 04:43:54 +00:00
ko1
9c7aab17a5
* eval.c (rb_method_missing): fix stack trace.
...
* bootstraptest/test_knownbug.rb: move solved tests.
* bootstraptest/test_method.rb, test/ruby/test_regexp.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27 01:47:34 +00:00
ko1
329484693a
* insns.def, compile.c: fix to allow dsym for alias/undef.
...
[ruby-dev:32355]
* bootstraptest/test_method.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27 01:02:30 +00:00
akr
bfc502fe51
more tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-26 13:05:08 +00:00
nobu
e42d6b8862
* bootstraptest/test_{io,marshal}.rb, lib/rubygems/require_paths_builder.rb test/ruby/test_m17n.rb: set properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-26 01:20:48 +00:00
akr
1d8519ad86
add a test for [ruby-dev:32351].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-24 16:08:10 +00:00
ko1
1e4278c98d
* bootstraptest/test_knownbug.rb: move solved tests.
...
* bootstraptest/test_io.rb, test_marshal.rb, test_objectspace.rb:
ditto.
* test/ruby/test_integer.rb, test_regexp.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-23 08:33:32 +00:00
akr
cca64ecb9a
previous change refined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-22 01:36:13 +00:00
akr
6ed29c55ef
add test for [ruby-dev:32329].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-22 01:32:32 +00:00
matz
1eee78b876
* eval.c (rb_f_send): allow send/__send__ to call methods of all
...
visibility again. we no longer provide __send, __send!.
* eval.c (rb_invoke_method): new method to honor private
visibility. if it's invoked in a function call style, it calls
private methods as well (previous 1.9 send behavior).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04 20:36:20 +00:00
akr
b3ab1dbf34
add test for Regexp.new("\0").
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04 01:53:29 +00:00
akr
ea0c6d3349
add a test for [ruby-dev:32084].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-22 03:40:41 +00:00
akr
24c863cf84
It should be ArgumentError that
...
Regexp.union(
"a",
Regexp.new("\x80".force_encoding("euc-jp")),
Regexp.new("\x80".force_encoding("utf-8"))).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-16 11:06:27 +00:00
akr
55eed62a43
Regexp.union("a", "a") causes SEGV.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-16 09:47:31 +00:00
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
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