зеркало из https://github.com/github/ruby.git
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:
Родитель
4ef6097f9a
Коммит
8d0d7da44e
|
@ -109,10 +109,10 @@ module TracePointChecker
|
||||||
raise "trace #{trace} should not be deactivated" unless trace.enabled?
|
raise "trace #{trace} should not be deactivated" unless trace.enabled?
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end if defined?(TracePoint)
|
end if defined?(TracePoint.stat)
|
||||||
|
|
||||||
class ::Test::Unit::TestCase
|
class ::Test::Unit::TestCase
|
||||||
include TracePointChecker::ZombieTraceHunter
|
include TracePointChecker::ZombieTraceHunter
|
||||||
end if defined?(TracePoint)
|
end if defined?(TracePointChecker)
|
||||||
|
|
||||||
# TracePointChecker.start verbose: false
|
# TracePointChecker.start verbose: false
|
||||||
|
|
Загрузка…
Ссылка в новой задаче