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:
nobu 2015-01-02 19:03:23 +00:00
Родитель 4ef6097f9a
Коммит 8d0d7da44e
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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