mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_settracefunc.rb: check the target thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f6a4b06850
commit
f614957d12
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Jan 23 19:59:16 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/ruby/test_settracefunc.rb: check the target thread.
|
||||
|
||||
Thu Jan 23 14:26:44 2014 Zachary Scott <e@zzak.io>
|
||||
|
||||
* lib/fileutils.rb: [DOC] Fix typo in options_of() example [Bug #9392]
|
||||
|
|
|
@ -1028,6 +1028,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
|
|||
def test_a_call
|
||||
events = []
|
||||
TracePoint.new(:a_call){|tp|
|
||||
next if !target_thread?
|
||||
events << tp.event
|
||||
}.enable{
|
||||
1.times{
|
||||
|
@ -1049,6 +1050,7 @@ class TestSetTraceFunc < Test::Unit::TestCase
|
|||
def test_a_return
|
||||
events = []
|
||||
TracePoint.new(:a_return){|tp|
|
||||
next if !target_thread?
|
||||
events << tp.event
|
||||
}.enable{
|
||||
1.times{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue