1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
ko1 87d48d14a0 * vm_core.h, vm_trace.c: fix multi-threading bug for tracing.
Move `trace_arg' from rb_tp_t::trace_arg to rb_thread_t::trace_arg.
  `trace_arg' may changed by multiple threads.
  rb_thread_t::trace_arg can represent rb_thread_t::trace_running
  (null or non-null) and rb_thread_t::trace_running is removed.
  After that, `rb_tp_t' is not needed to check tracing or not
  (A running thread knows tracing or not). This is why I remove
  tp_attr_check_active() and make new function get_trace_arg().
  And this modification disable to work the following code:
  TracePoint.trace{|tp|
  Thread.new{p tp.event} # access `tp' from other threads.
  }
  I believe nobody mix threads at trace procedure.
  This is current limitation.
* cont.c (fiber_switch, rb_cont_call): use rb_thread_t::trace_arg
  instead of rb_thread_t::trace_running.
* test/ruby/test_settracefunc.rb: add a multi-threading test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 09:33:44 +00:00
..
-ext- st_update passes the key in st_table 2012-11-17 02:46:13 +00:00
base64 * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
benchmark * lib/benchmark.rb: Fix Benchmark.benchmark output with an empty 2012-07-18 03:56:58 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.c (BigDecimal_new): stop checking string 2012-12-02 15:09:49 +00:00
cgi * test/cgi/test_cgi_core.rb: Add test for CGI#header. 2012-11-08 06:56:17 +00:00
coverage
csv * lib/csv.rb: A fix for row comparison by Stephen Wattam. [Bug #7528] 2012-12-07 17:42:16 +00:00
date * test/date/test_date_{parse,strptime}.rb: changed the format of 2012-11-11 10:02:32 +00:00
dbm
digest ext/digest/digest.c (hexencode_str_new): return an ASCII string 2012-08-01 13:30:51 +00:00
dl * test/dl/test_func.rb (test_name_with_block, test_bind, test_qsort1): call unbind to release the callback closure because maximum number of callbacks is limited to DL::MAX_CALLBACK (== 5) with pure DL without Fiddle. 2012-12-11 15:44:22 +00:00
drb drbtest.rb: use :KILL on Windows 2012-09-29 11:19:02 +00:00
dtrace Use EnvUtil.rubybin instead of Gem.ruby 2012-12-17 12:48:12 +00:00
erb test: remove or replace trailing spaces 2012-12-07 05:02:18 +00:00
etc test_etc.rb: fix for non unique GID 2012-08-27 11:57:43 +00:00
fiddle * ext/fiddle/function.c (Fiddle::Function.new): new keyword argument :name to set the name attribute. 2012-12-11 10:41:00 +00:00
fileutils make FileUtils tests safe when interrupting in setup 2012-08-21 11:32:18 +00:00
gdbm Suppress warnings. 2012-07-25 06:49:35 +00:00
io test_io_wait.rb: Bug #7420 2012-11-29 08:11:10 +00:00
irb
json * ext/json: merge JSON 1.7.5. 2012-12-12 10:51:49 +00:00
logger * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
matrix matrix.rb: complex vector 2012-09-03 05:49:06 +00:00
minitest Imported minitest 4.3.2 (r8027) 2012-11-29 22:02:36 +00:00
misc ruby-mode.el: fix argument indent 2012-12-03 03:43:40 +00:00
mkmf * test/mkmf/test_have_func.rb: tests for have_func. 2012-12-05 06:30:39 +00:00
monitor
net test: remove or replace trailing spaces 2012-12-07 05:02:18 +00:00
nkf
objspace Use assert_separately to speed up slow tests 2012-12-14 01:38:12 +00:00
open-uri * test/open-uri/test_open-uri.rb (TestOpenURI#test_read_timeout): this 2012-08-23 02:35:01 +00:00
openssl * ext/openssl/ossl.c: do not use FIPS_mode_set if not available. 2012-12-20 07:00:11 +00:00
optparse
ostruct * lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyer 2012-10-28 21:20:10 +00:00
pathname
psych * ext/psych/lib/psych/visitors/yaml_tree.rb: quote strings that begin 2012-12-13 22:45:16 +00:00
rake * lib/rake/*: Updated to rake 0.9.6 2012-12-21 02:34:37 +00:00
rdoc * lib/rdoc/parser/ruby.rb: Ignore methods defined on constants to 2012-12-20 06:23:28 +00:00
readline Skip on non UTF-8 locale. 2012-06-19 06:30:55 +00:00
resolv
rexml test: remove or replace trailing spaces 2012-12-07 05:02:18 +00:00
rinda
ripper parse.y: flush string content 2012-12-06 08:29:16 +00:00
rss Suppress warnings. 2012-07-23 21:37:39 +00:00
ruby * vm_core.h, vm_trace.c: fix multi-threading bug for tracing. 2012-12-21 09:33:44 +00:00
rubygems * lib/rubygems/commands/query_command.rb: Refactored to improve 2012-12-19 07:19:10 +00:00
scanf
sdbm
socket Check if there is no error before reconnect [Bug #4387] 2012-10-30 00:40:54 +00:00
stringio stringio.c: close separatedly 2012-10-29 09:23:02 +00:00
strscan Added #charpos for multibyte string position. 2012-11-28 00:17:33 +00:00
syslog * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
testunit * test/testunit/tests_for_parallel/ptest_forth.rb: added a test case 2012-08-21 00:07:32 +00:00
thread * test/ruby/test_thread.rb: move ConditionVariable related test 2012-12-01 08:29:09 +00:00
uri * lib/uri/ftp.rb (URI::FTP#initialize): raise InvalidURIError if "//" 2012-08-30 00:22:11 +00:00
webrick * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
win32ole * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types): 2012-11-20 12:34:21 +00:00
xmlrpc Use different port from test/xmlrpc/test_cookie.rb 2012-12-13 06:16:14 +00:00
zlib * ext/zlib/zlib.c: Added streaming support to inflate processing. 2012-07-10 18:28:40 +00:00
inlinetest.rb
profile_test_all.rb
runner.rb * test/runner.rb: Set GEM_HOME, GEM_PATH and GEM_SKIP to empty set. 2012-12-01 00:34:01 +00:00
test_abbrev.rb Fix a line matching problem in Abbrev.abbrev(words, "prefix"). 2012-11-30 03:56:28 +00:00
test_cmath.rb
test_curses.rb
test_delegate.rb
test_find.rb
test_ipaddr.rb
test_mathn.rb
test_mutex_m.rb
test_open3.rb
test_pp.rb * numeric.c (rb_float_new_in_heap), include/ruby/ruby.h: 2012-10-27 02:10:53 +00:00
test_prettyprint.rb
test_prime.rb
test_pstore.rb test_pstore.rb: fix for timeout 2012-09-04 12:45:31 +00:00
test_pty.rb
test_securerandom.rb set encoding to ASCII for appropriate String#unpack modifiers 2012-10-19 13:13:32 +00:00
test_set.rb Move tests embedded in lib/set.rb to test/test_set.rb. 2012-11-24 18:51:45 +00:00
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb Revert r38216 and r38221. Release manager mark this feature as "next minor". 2012-12-07 10:36:59 +00:00
test_tmpdir.rb tmpdir.rb: not expand tilde 2012-12-12 12:40:51 +00:00
test_tracer.rb * lib/tracer.rb: Updated to match removal of custom_require from 2012-11-29 08:22:04 +00:00
test_tsort.rb
test_weakref.rb Fix WeakRef finalize 2012-11-24 12:26:54 +00:00
with_different_ofs.rb