mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tracepointchecker.rb: needs TracePoint
* test/lib/tracepointchecker.rb: available only if TracePoint is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
163ecb32e9
commit
6d65806f8b
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
|
||||
end if defined?(TracePoint)
|
||||
|
||||
class ::Test::Unit::TestCase
|
||||
include TracePointChecker::ZombieTraceHunter
|
||||
end
|
||||
end if defined?(TracePoint)
|
||||
|
||||
# TracePointChecker.start verbose: false
|
||||
|
|
Loading…
Reference in a new issue