mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tracepointchecker.rb: for older TracePoint
* test/lib/tracepointchecker.rb (TracePointChecker): needs recent version of TracePoint, so that older versions can run to compare the resuls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4ef6097f9a
commit
8d0d7da44e
1 changed files with 2 additions and 2 deletions
|
@ -109,10 +109,10 @@ module TracePointChecker
|
|||
raise "trace #{trace} should not be deactivated" unless trace.enabled?
|
||||
}
|
||||
end
|
||||
end if defined?(TracePoint)
|
||||
end if defined?(TracePoint.stat)
|
||||
|
||||
class ::Test::Unit::TestCase
|
||||
include TracePointChecker::ZombieTraceHunter
|
||||
end if defined?(TracePoint)
|
||||
end if defined?(TracePointChecker)
|
||||
|
||||
# TracePointChecker.start verbose: false
|
||||
|
|
Loading…
Reference in a new issue