ruby-changes:32613
From: ko1 <ko1@a...>
Date: Thu, 23 Jan 2014 20:02:41 +0900 (JST)
Subject: [ruby-changes:32613] ko1:r44692 (trunk): * test/ruby/test_settracefunc.rb: check the target thread.
ko1 2014-01-23 20:02:37 +0900 (Thu, 23 Jan 2014) New Revision: 44692 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44692 Log: * test/ruby/test_settracefunc.rb: check the target thread. Modified files: trunk/ChangeLog trunk/test/ruby/test_settracefunc.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 44691) +++ ChangeLog (revision 44692) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jan 23 19:59:16 2014 Koichi Sasada <ko1@a...> + + * test/ruby/test_settracefunc.rb: check the target thread. + Thu Jan 23 14:26:44 2014 Zachary Scott <e@z...> * lib/fileutils.rb: [DOC] Fix typo in options_of() example [Bug #9392] Index: test/ruby/test_settracefunc.rb =================================================================== --- test/ruby/test_settracefunc.rb (revision 44691) +++ test/ruby/test_settracefunc.rb (revision 44692) @@ -1028,6 +1028,7 @@ class TestSetTraceFunc < Test::Unit::Tes https://github.com/ruby/ruby/blob/trunk/test/ruby/test_settracefunc.rb#L1028 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::Tes https://github.com/ruby/ruby/blob/trunk/test/ruby/test_settracefunc.rb#L1050 def test_a_return events = [] TracePoint.new(:a_return){|tp| + next if !target_thread? events << tp.event }.enable{ 1.times{ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/