nobu
13e83d055f
vm_trace.c: exceptions in event hooks
...
* vm_trace.c (rb_threadptr_exec_event_hooks): exceptions in event
hooks should not propagate outside.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10 06:23:44 +00:00
nobu
f9e4651039
KNOWNBUGS.rb: exceptions in event hooks
...
* KNOWNBUGS.rb: add tests for exceptions in event hooks, which were
discarded in 1.8 but passed through in 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10 02:50:57 +00:00
nobu
f7894e422a
vm.c: rewrite all catch points
...
* vm.c (rb_vm_rewrite_ep_in_errinfo): rewrite all catch points in
errinfo, not only the topmost frame. based on the patch by
ktsj (Kazuki Tsujimoto) in [ruby-dev:45656]. [Bug #6460 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02 19:14:24 +00:00
ktsj
e546302486
* KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 05:46:27 +00:00
ktsj
86c382a2d8
* KNOWNBUGS.rb: Bug #2330 was fixed in r26718.
...
[ruby-dev:40234] [ruby-core:27959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 05:46:25 +00:00
akr
960beaac86
indented.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-20 03:17:44 +00:00
akr
24421c835d
* bootstraptest/runner.rb (assert_normal_exit): add :timeout option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-17 12:27:34 +00:00
akr
d1925e649f
use assert_finish because the test hangs on FreeBSD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 16:45:22 +00:00
akr
4651910af1
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-16 13:25:54 +00:00
ko1
0cdfbc9446
* thread_pthread.c (rb_thread_create_timer_thread): print fatal error
...
message to stderr instead of using rb_bug().
* KNOWNBUGS.rb, bootstraptest/test_fork.rb: move a fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-07 23:59:58 +00:00
akr
a2f28cb6f5
add timeout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:30:56 +00:00
akr
183582ab29
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:04:21 +00:00
ko1
100d0a568e
* vm_insnhelper.c (vm_call_method): copy arguments to allocated
...
memory from machine stack. [ruby-dev:36028]
* KNOWNBUGS.rb, bootstraptest/test_method.rb: move fixed test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 08:24:51 +00:00
mame
503d852995
* KNOWNBUGS.rb: add a test. see [ruby-dev:36028]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-28 14:29:31 +00:00
nobu
1a5f1a8c69
* vm_core.h (rb_thread_t), vm.c (rb_thread_mark), process.c
...
(rb_last_status_get, rb_last_status_set, rb_last_status_clear):
moved last_status from rb_vm_t. [ruby-dev:35414]
* vm.c (th_init2): initialize last_status with nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-10 03:10:00 +00:00
akr
34131e6ea3
add a test for [ruby-dev:35414].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-09 18:05:32 +00:00
ko1
e929f49e56
* KNOWNBUGS.rb, bootstraptest/pending.rb: move a bug (?) to pending.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19 16:08:16 +00:00
akr
b44d0b98d8
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19 13:26:37 +00:00
ko1
f98e6b91de
* KNOWNBUGS.rb, bootstraptest/pending.rb: move pending bug.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17 19:29:38 +00:00
ko1
00e4fd42f3
* vm.c, vm_insnhelper.c: fix escape process with "braek" and "return"
...
syntax in "lambda". [ ruby-Bugs-19304 ], [ruby-core:17164]
* KNOWNBUGS.rb, bootstraptest/test_proc.rb: add/move solved test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17 19:27:24 +00:00
ko1
faa93e847d
* eval.c (rb_f_block_given_p): fix to skip class frame.
...
[ruby-core:14813]
* KNOWNBUGS.rb, bootstraptest/test_method.rb: move solved test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-15 16:50:37 +00:00
ko1
9e324fdd3e
* vm.c, eval_intern.h (PASS_PASSED_BLOCK):
...
set a VM_FRAME_FLAG_PASSED flag to skip this frame when
searching ruby-level-cfp.
* eval.c, eval_intern.h, proc.c: fix to check cfp. if there is
no valid ruby-level-cfp, cause RuntimeError exception.
[ruby-dev:34128]
* vm_core.h, vm_evalbody.c, vm.c, vm_dump.c, vm_insnhelper.c,
insns.def: rename FRAME_MAGIC_* to VM_FRAME_MAGIC_*.
* KNOWNBUGS.rb, bootstraptest/test*.rb: move solved bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10 21:46:43 +00:00
ko1
e2958af0b7
* test_knownbug.rb -> KNOWNBUGS.rb: renamed.
...
* common.mk: apply above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09 12:15:53 +00:00