ruby/test
ko1 23e452b17b cleanup hook cleanup code.
* vm_trace.c: before this patch, deleted hooks are remvoed at
  *the beggining* of hooks (exec_hooks_precheck).
  This patch cleanup deleted hooks at
  (1) just after hook is deleted (TracePoint#disable and so on)
  (2) just after executing hooks (exec_hooks_postcheck)
  Most of time (1) is enough, but if some threads running hooks,
  we need to wait cleaning up deleted hooks until threads finish
  running the hooks. This is why (2) is introduced (and this is
  why current impl cleanup deleted hooks at the beggining of hooks).

* test/lib/tracepointchecker.rb: check also the number of delete
  waiting hooks.

* cont.c (cont_restore_thread): fix VM->trace_running count.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-16 02:47:58 +00:00
..
-ext- Fixed misspelling words. 2017-10-22 11:27:06 +00:00
base64 lib/base64.rb: Specify frozen_string_literal: true. 2017-02-10 00:58:45 +00:00
benchmark lib/benchmark.rb: Specify frozen_string_literal: true. 2017-01-03 02:00:01 +00:00
bigdecimal Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
cgi Fix strange indentation 2017-05-18 15:13:30 +00:00
coverage Add test cases for branch coverage 2017-10-23 13:25:59 +00:00
csv test_features.rb: fix unused variable warning 2017-09-26 10:45:14 +00:00
date Do not define test method instead of skip when Calendar class is not defined. 2017-11-10 06:31:36 +00:00
dbm {ext,test}/dbm: Specify frozen_string_literal: true. 2017-01-28 04:36:08 +00:00
digest test/digest/test_digest.rb: fold long lines 2016-10-27 06:26:09 +00:00
drb Fix r60271 2017-10-21 14:22:04 +00:00
dtrace rename ruby-runner as bin/ruby 2017-09-15 17:42:00 +00:00
erb bin/erb: change template file encoding to UTF-8 2017-11-10 13:59:01 +00:00
etc test_etc.rb: fix test_getgrnam for duplicated group names 2017-09-29 17:19:37 +00:00
excludes TestException.rb: suppress warning 2016-04-11 08:27:19 +00:00
fiddle Use mutable strings for mutation tests. 2017-09-12 23:15:34 +00:00
fileutils fix r60281 2017-10-21 14:35:19 +00:00
gdbm Import gemspec and test file changes from ruby/gdbm. 2017-04-25 07:55:56 +00:00
io test_io_console.rb: flush 2017-09-28 02:51:41 +00:00
irb ruby-lex.rb: fix continued line conditions 2017-04-20 11:07:02 +00:00
json require 'bigdecimal' 2017-06-16 04:04:53 +00:00
lib cleanup hook cleanup code. 2017-11-16 02:47:58 +00:00
logger multiple arguments to write 2017-10-23 14:05:07 +00:00
matrix * lib/matrix.rb: Add Vector.zero and Vector#zero? 2017-03-14 20:09:30 +00:00
minitest test_minitest_unit.rb: assert_triggered 2017-03-29 09:47:40 +00:00
misc test_ruby_mode.rb: fix for Emacs 25.1 2016-09-24 01:19:43 +00:00
mkmf multiple arguments to write 2017-10-23 14:05:07 +00:00
monitor Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
net Host header should add branckets to IPv6 address [Bug #12642] 2017-10-26 15:29:36 +00:00
nkf Fix test code of kconv 2017-09-15 16:56:16 +00:00
objspace io.c: encoding of ARGF.inplace_mode 2017-10-10 12:30:42 +00:00
open-uri lib/open-uri.rb: accept :encoding option as well as encoding in mode string. 2017-10-21 06:22:53 +00:00
openssl openssl: pull test case from upstream commit 62af0446569a 2017-11-04 06:56:16 +00:00
optparse multiple arguments to write 2017-10-23 14:05:07 +00:00
ostruct test/ostruct: Specify frozen_string_literal: true. 2017-10-25 23:45:33 +00:00
pathname Fixed misspelling words. 2017-10-22 11:27:06 +00:00
psych Merge psych-3.0.0.beta3 from ruby/psych. 2017-07-14 06:15:58 +00:00
rdoc Fix the leak in `TestRDocGeneratorDarkfish#test_generated_method_with_html_tag_yield` 2017-10-17 07:41:04 +00:00
readline suppress warning: assigned but unused variable - line 2017-08-15 21:36:16 +00:00
resolv Handle Errno::EADDRNOTAVAIL with Raspberry Pi environment. 2017-10-21 16:05:01 +00:00
rexml REXML: Fix a bug that unexpected methods can be called as a XPath function 2017-08-13 12:14:24 +00:00
rinda Stop a global server of Rinda test 2017-03-14 15:14:21 +00:00
ripper parse.y: indent at '#' 2017-10-19 05:10:38 +00:00
rss rss itunes: fix a bug that <itunes:explicit> value isn't fully supported 2017-10-22 16:03:57 +00:00
ruby remove rb_thread_t::event_hooks. 2017-11-15 13:21:24 +00:00
rubygems Merge rubygems master(ddbf3203f3857649abe95c73edefc7de7e6ecff4). 2017-10-20 09:03:37 +00:00
scanf Fix bug about String#scanf("%a") 2017-10-21 12:34:13 +00:00
sdbm update comments. 2016-05-01 12:50:19 +00:00
shell test_command_processor.rb: add suffix 2017-06-23 15:08:50 +00:00
socket socket: fix BasicSocket#*_nonblock buffering bugs from r58400 2017-10-27 23:26:48 +00:00
stringio stringio.c: write multiple arguments 2017-10-23 06:25:39 +00:00
strscan strscan.c: fix segfault in aref 2017-07-21 13:30:46 +00:00
syslog
testunit assertions.rb: fix return in assert_raise 2017-11-02 12:29:33 +00:00
thread Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
uri URI::Generic: Separate no_proxy handling 2017-09-28 10:51:31 +00:00
webrick webrick: support Proc objects as body responses 2017-10-30 23:56:44 +00:00
win32ole ext/win32ole/lib/win32ole.rb (metods): rescue WIN32OLEQueryInterfaceError. 2017-11-05 01:02:04 +00:00
yaml lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
zlib zlib.c: multiple arguments to write 2017-10-23 07:06:12 +00:00
colors
runner.rb the working directory may not be srcdir 2017-09-07 17:45:34 +00:00
test_abbrev.rb lib/abbrev.rb: Specify frozen_string_literal: true. 2017-02-09 16:12:00 +00:00
test_cmath.rb lib/cmath.rb: Specify frozen_string_literal: true. 2017-01-04 05:47:52 +00:00
test_delegate.rb Delegate to `eql?` [Fix GH-1564] 2017-06-24 03:35:29 +00:00
test_extlibs.rb Revert "test/test_extilibs.rb: do not check the existence of fiddle" 2017-05-16 23:59:01 +00:00
test_find.rb test_find.rb: improve branch coverage 2017-09-30 03:31:32 +00:00
test_forwardable.rb * test/test_forwardable.rb (TestForwardable#test_on_private_method): add test for [Bug #12782] [Bug #12840] 2016-10-31 08:43:54 +00:00
test_ipaddr.rb Import ipaddr 1.2.0 2017-10-21 13:34:19 +00:00
test_mutex_m.rb Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
test_observer.rb lib/observer.rb: Specify frozen_string_literal: true. 2017-01-13 12:08:29 +00:00
test_open3.rb lib/open3.rb: accept IO-like object for :stdin_data argument. 2017-10-21 07:00:58 +00:00
test_pp.rb
test_prettyprint.rb
test_prime.rb prime.rb: remove alias after timeout test 2017-05-20 10:21:44 +00:00
test_pstore.rb lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
test_pty.rb
test_rbconfig.rb
test_securerandom.rb Use `\A` and `\z` instead of `^` and `$` 2017-10-22 09:16:54 +00:00
test_set.rb Add `Set#reset` 2017-10-22 12:25:34 +00:00
test_shellwords.rb Fix the handling of the backslash in double quotes 2016-11-05 04:58:48 +00:00
test_singleton.rb
test_syslog.rb
test_tempfile.rb Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
test_time.rb Make Time.parse respect timezone offset seconds 2017-10-20 01:03:18 +00:00
test_timeout.rb Remove unnecessary `require 'thread'` 2017-10-08 07:00:01 +00:00
test_tmpdir.rb test/test_tmpdir.rb: Specify frozen_string_literal: true. 2017-01-23 15:47:32 +00:00
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb * test/ruby/enc/test_case_comprehensive.rb, test_regex_casefold.rb, 2016-07-03 09:51:46 +00:00
test_weakref.rb lib/weakref.rb: Specify frozen_string_literal: true. 2017-01-26 15:14:00 +00:00
test_win32api.rb