1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/thread
eregon 5a3c024df0 Set Thread.report_on_exception=true by default to report exceptions in Threads
* [Feature #14143] [ruby-core:83979]
* vm.c (vm_init2): Set Thread.report_on_exception to true.
* thread.c (thread_start_func_2): Add indication the message is caused
  by report_on_exception = true.
* spec/ruby: Specify the new behavior.
* test/ruby/test_thread.rb: Adapt and improve tests for
  Thread.report_on_exception and Thread#report_on_exception.
* test/ruby/test_thread.rb, test/ruby/test_exception.rb: Unset
  report_on_exception for tests expecting no extra output.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-12 18:43:42 +00:00
..
backtrace/location
fixtures
shared
abort_on_exception_spec.rb
add_trace_func_spec.rb
alive_spec.rb
allocate_spec.rb
backtrace_spec.rb
current_spec.rb
element_reference_spec.rb
element_set_spec.rb
exclusive_spec.rb
exit_spec.rb
fork_spec.rb
group_spec.rb
initialize_spec.rb
inspect_spec.rb
join_spec.rb
key_spec.rb
keys_spec.rb
kill_spec.rb
list_spec.rb
main_spec.rb
name_spec.rb
new_spec.rb
pass_spec.rb
priority_spec.rb
raise_spec.rb
report_on_exception_spec.rb Set Thread.report_on_exception=true by default to report exceptions in Threads 2017-12-12 18:43:42 +00:00
run_spec.rb
set_trace_func_spec.rb
start_spec.rb
status_spec.rb
stop_spec.rb
terminate_spec.rb
thread_variable_get_spec.rb
thread_variable_set_spec.rb
thread_variable_spec.rb
thread_variables_spec.rb Update to ruby/spec@bacedc5 2017-12-01 15:41:50 +00:00
value_spec.rb
wakeup_spec.rb