1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
ko1 c2693f8bd6 * vm_trace.c (rb_threadptr_exec_event_hooks_and_pop_frame):
pop a frame before JUMP_TAG() if exception occurred.
  This change fix bug of Ruby 1.9.
  [ruby-core:51128] [ruby-trunk - Bug #7624]
* vm_core.h (EXEC_EVENT_HOOK_AND_POP_FRAME): add to use
  `rb_threadptr_exec_event_hooks_and_pop_frame()'.
* vm.c (vm_exec): use EXEC_EVENT_HOOK_AND_POP_FRAME() while
  exception handling. While exception hadnling, if an exception
  is raised in hooks, need to pop current frame and raise this
  raised exception by hook.
* test/ruby/test_settracefunc.rb: add a test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-25 13:24:17 +00:00
..
enc use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb envutil.rb: validate syntax 2012-12-20 02:05:37 +00:00
lbtest.rb
marshaltestlib.rb fix a typo 2012-12-11 12:38:42 +00:00
memory_status.rb memory_status.rb: EnvUtil 2012-12-06 08:25:45 +00:00
sentence.rb
test_alias.rb * test/ruby/test_alias.rb (test_super_in_aliased_module_method): 2012-08-04 01:04:05 +00:00
test_argf.rb test_argf.rb: duplicated test 2012-12-24 00:45:26 +00:00
test_arity.rb
test_array.rb * array.c: Fix rdoc for Array#delete [#7437] 2012-11-26 20:14:49 +00:00
test_assignment.rb
test_autoload.rb * test/ruby/test_autoload.rb: remove temporally files early. 2012-07-18 13:43:22 +00:00
test_backtrace.rb * test/ruby/test_backtrace.rb: add a test for 2012-12-01 12:19:52 +00:00
test_basicinstructions.rb never evaluated 2012-07-05 14:42:25 +00:00
test_beginendblock.rb * test/ruby/test_beginendblock.rb: remove temporally files early. 2012-07-18 14:09:21 +00:00
test_bignum.rb * include/ruby/intern.h: add the prototype declaration of 2012-12-22 15:06:22 +00:00
test_call.rb
test_case.rb
test_class.rb * vm_core.h (rb_vm_defineclass_type_t), 2012-12-20 08:13:53 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb * complex.c (make_patterns): should not accept extra sign. 2012-11-17 14:57:22 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb variable.c: show namespace 2012-11-29 08:45:13 +00:00
test_continuation.rb * test_continuation.rb (tracing_with_thread_set_trace_func): 2012-08-21 01:41:07 +00:00
test_defined.rb * iseq.c (rb_iseq_defined_string): the index of defined_strings must 2012-09-24 23:17:59 +00:00
test_dir.rb dir.c: fix recursion 2012-09-05 04:30:10 +00:00
test_dir_m17n.rb test_dir_m17n.rb: test_glob_incompatible 2012-09-05 03:03:24 +00:00
test_econv.rb Suppress warnings. 2012-07-25 06:49:35 +00:00
test_encoding.rb
test_enum.rb array.c, enum.c: TypeError in zip 2012-09-19 15:42:26 +00:00
test_enumerator.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_env.rb use assert_equal, assert_match, and so on. 2012-05-07 01:23:07 +00:00
test_eval.rb proc.c: main.define_method 2012-11-01 23:24:33 +00:00
test_exception.rb remove trailing spaces. 2012-11-20 12:34:37 +00:00
test_fiber.rb * cont.c (rb_fiber_start): in case of jump with TAG_FATAL, 2012-12-22 06:45:28 +00:00
test_file.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_file_exhaustive.rb Skip path expansion for all wildcard characters 2012-11-17 12:46:17 +00:00
test_fixnum.rb * bignum.c (bignew_1): Bignum instances are frozen. 2012-10-28 00:03:20 +00:00
test_flip.rb compile.c, vm_insnhelper.c: flip-flop without hidden string key 2012-12-10 06:11:16 +00:00
test_float.rb Suppress warning: Bignum out of Float range 2012-11-07 07:03:53 +00:00
test_fnmatch.rb dir.c: FNM_EXTGLOB 2012-11-04 01:19:11 +00:00
test_gc.rb Use assert_separately to speed up slow tests 2012-12-14 01:38:12 +00:00
test_hash.rb hash.c: warn for wrong elements 2012-11-11 06:39:08 +00:00
test_ifunless.rb use local variables 2012-08-08 13:46:09 +00:00
test_integer.rb * include/ruby/intern.h: add the prototype declaration of 2012-12-22 15:06:22 +00:00
test_integer_comb.rb
test_io.rb Deprecate #{lines,bytes,chars,codepoints} of IO-likes. 2012-12-22 17:22:04 +00:00
test_io_m17n.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_iseq.rb * test/ruby/test_iseq.rb: disable a test which checks features 2012-12-21 13:36:17 +00:00
test_iterator.rb use local variables 2012-08-08 13:46:09 +00:00
test_keyword.rb * iseq.c (rb_iseq_parameters): fix limit for optional arguments. 2012-12-11 21:44:49 +00:00
test_lambda.rb
test_lazy_enumerator.rb vm.c: save blockprocval 2012-12-05 13:46:11 +00:00
test_literal.rb * compile.c (compile_array_): refix r37991 remove assertion: 2012-11-29 17:35:29 +00:00
test_m17n.rb * string.c (rb_str_b): Add String#b, returning a copied string 2012-11-06 00:50:02 +00:00
test_m17n_comb.rb * test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get 2012-11-20 15:29:59 +00:00
test_marshal.rb * marshal.c (r_entry0): don't taint classes and modules because 2012-12-13 05:12:55 +00:00
test_math.rb
test_metaclass.rb
test_method.rb method transplanting 2012-12-13 04:06:40 +00:00
test_mixed_unicode_escapes.rb
test_module.rb internal.h: quote unprintable 2012-12-22 15:04:57 +00:00
test_not.rb * parse.y (primary): allow an empty grouped expression as the 2012-07-18 07:05:12 +00:00
test_notimp.rb
test_numeric.rb
test_object.rb vm_eval.c: public_send does not consider how it is called 2012-12-05 16:10:41 +00:00
test_objectspace.rb * test/ruby/test_objectspace.rb: skip RuntimeError 2012-12-03 11:06:21 +00:00
test_optimization.rb * insns.def: add new instruction opt_empty_p' for optimize empty?' 2012-09-26 09:34:46 +00:00
test_pack.rb * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
test_parse.rb scoped constant op-assignment 2012-12-24 15:59:31 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb Suppress warnings 2012-12-19 02:25:37 +00:00
test_process.rb Suppress warning: too long path 2012-12-12 10:06:29 +00:00
test_rand.rb random.c, rational.c: make marshal methods private 2012-12-03 10:10:14 +00:00
test_range.rb * range.c (range_bsearch): fix some bugs: a documentation bug, a wrong 2012-11-15 13:50:55 +00:00
test_rational.rb test_complex.rb, test_rational.rb: revert some assertions 2012-07-26 03:08:41 +00:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb * remove trailing spaces. 2012-12-20 01:52:47 +00:00
test_regexp.rb Fix tests of rb_warning(). 2012-11-24 17:14:06 +00:00
test_require.rb error.c: rb_write_error_str 2012-12-25 04:38:18 +00:00
test_rubyoptions.rb Add test for r38543 [Bug #7597] [ruby-dev:46786] 2012-12-25 08:00:50 +00:00
test_settracefunc.rb * vm_trace.c (rb_threadptr_exec_event_hooks_and_pop_frame): 2012-12-25 13:24:17 +00:00
test_signal.rb * thread.c (struct rb_mutex_struct): add allow_trap field. 2012-11-28 08:30:51 +00:00
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb string.c: compare with to_str 2012-11-30 08:43:52 +00:00
test_stringchar.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_struct.rb * struct.c (make_struct): remove junk ID check to allow members who 2012-12-22 02:52:48 +00:00
test_super.rb test_super.rb: super from BEGIN 2012-09-25 01:10:32 +00:00
test_symbol.rb * test/ruby/test_fixnum.rb (TestFixnum#test_singleton_method): new test. 2012-08-23 11:51:30 +00:00
test_syntax.rb scoped constant op-assignment 2012-12-24 15:59:31 +00:00
test_system.rb
test_thread.rb * thread.c: rename methods: 2012-12-23 10:18:58 +00:00
test_threadgroup.rb * test/ruby/test_thread.rb (test_uninitialized, test_backtrace, 2012-12-14 23:11:36 +00:00
test_time.rb Use more portable value for ENV['TZ'] 2012-12-07 02:58:55 +00:00
test_time_tz.rb Add freebsd to force_tz_test 2012-12-07 02:55:33 +00:00
test_trace.rb
test_transcode.rb Added a test for CoW strings. 2012-08-23 21:14:31 +00:00
test_undef.rb
test_unicode_escape.rb test_unicode_escape.rb: set script encoding 2012-09-29 11:18:57 +00:00
test_variable.rb
test_whileuntil.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_file): rename from file_assertion. 2012-10-16 04:02:04 +00:00
test_yield.rb
ut_eof.rb